-
August 1st, 2013, 09:47 AM
#1
Hi Kurt,
you should try with something like this:
var itemID = "<computerID>";
var fieldList = ["message"];
var item2Subscription = new Subscription("MERGE",itemID,fieldList);
item2Subscription.setDataAdapter("DEFAULT");
item2Subscription.setRequestedSnapshot(false);
...
client.subscribe(item2Subscription);
Please also pay attention to the correct determination of the Adapeter Name, which in your case is "DEFAULT" and the Adapter Set Name that is specified when the LightstreamerClient object was created .
However, if you are still in troubles, you should provide us with a server and client log showing the subscription events?
Please set to DEBUG level the "LightstreamerLogger.subscriptions" and "LightstreamerLogger.requests" logger in the "lightstreamer_log_conf.xml".
Also, you should enable logging on the client side. In order to set the client to log at INFO level all of its categories (using *) Client log configuration is described in section 2.6.3 of the development guide: http://www.lightstreamer.com/latest/Lightstreamer_Allegro-Presto-Vivace_5_1_Colosseo/Lightstreamer/DOCS-SDKs/sdk_client_javascript/doc/JavaScript%20Client%20Guide.pdf.
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 09:42 PM.
Bookmarks