-
December 17th, 2010, 09:58 AM
#1
I forgot to mention that if your adapter is a .NET adapter, there is a timeout parameter (<param name="timeout">) you can configure on the adapters.xml of the java proxy adapter.
-
December 17th, 2010, 04:38 PM
#2
Yes, we do have .NET Data Adapters. Looking in our Adapters.xml file I do not see any parameter <Param name="timeout"></Param>. Do I need to add it? What is the param's units? Milliseconds? What exactly does this parameter do? i.e., are there any side-effects?
What we have in our Adpaters's file
<data_provider name="xxx">
<adapter_class>com.lightstreamer.adapters.remote.R obustNetworkDataProvider</adapter_class>
<param_name="request_reply_port">xxx</param_name>
<param_name="notify_port">xxx</param_name>
<param_name="connection_recovery_timeout_millis">x xx</param_name>
<param_name="event_recovery">use_snapshot</param_name>
<param_name="name">xxx</param_name>
-
December 20th, 2010, 08:36 AM
#3
You can find the parameter listed, together with a short documentation, in the sample adapters.xml file of the StockListDemo Remote Adapter example in LS distribution package, in
DOCS-SDKs\sdk_adapter_dotnet\examples\Remote_StockListD emo_Adapters\Deployment\Deployment_LS\StockList_so ckets
So, you can add the line; the value is in milliseconds.
The timeout should only account for roundtrip delays in the Proxy Adapter / Remote Adapter communication;
in fact, we suggest that the Subscribe implementation should not be blocking.
The default timeout is 10000. A shorter timeout may cause more slow subscriptions to be refused. A very high timeout has a side effect on memory usage with a large number of subscriptions, which will be fixed only in the next release.
Similar Threads
-
By ffiisshh in forum General
Replies: 1
Last Post: March 29th, 2012, 10:14 AM
-
By patilgkk in forum General
Replies: 5
Last Post: August 2nd, 2010, 09:04 AM
-
By mnenchev in forum General
Replies: 3
Last Post: November 25th, 2009, 02:27 PM
-
By rd2008 in forum General
Replies: 1
Last Post: November 20th, 2008, 09:32 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 05:03 AM.
Bookmarks