-
July 4th, 2008, 09:40 AM
#5
I see that a lot of subscription requests are involved.
By looking at request 10a0000011ae80eb4af, the log shows that the answer comes 2.5 seconds after the timeout has expired. A look at the log above this snippet, at around 15:45:36, should confirm that request 10a0000011ae80eb4af was issued at that time, hence the Remote Adapter has taken as many as 12.5 seconds to fulfill it.
Do you think it's possible that all this time is spent in the "subscribe" method of your Remote Adapter?
If this is possible, then you should rewrite the "subscribe" code in order to return immediately and perform all the subscription stuff in an asynchronous way. See useful remarks on the subscribe documentation for the java case.
Unfortunately, this might complicate the Adapter very much, because, after you return from "subscribe", you may get an "unsubscribe" call at any time and your asynchronous subscription stuff may not have finished yet.
Similar Threads
-
By pluczak in forum Adapter SDKs
Replies: 1
Last Post: April 17th, 2012, 09:19 AM
-
By quanghung221 in forum Adapter SDKs
Replies: 1
Last Post: May 31st, 2010, 09:00 AM
-
By mohamida in forum Adapter SDKs
Replies: 2
Last Post: December 10th, 2009, 06:57 AM
-
By craigtype3 in forum Adapter SDKs
Replies: 4
Last Post: August 7th, 2009, 05:47 PM
-
By michaelvb in forum Adapter SDKs
Replies: 1
Last Post: May 29th, 2008, 10:07 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 06:14 AM.
Bookmarks