-
December 9th, 2020, 09:57 AM
#18
Hi rvkvino,
I have just taken a quick review of your code, and indeed I cannot provide a definitive answer but some tips to continue the investigation.
I think you should start by monitoring specifically the getJSON method, that if I am right, is called repeatedly to retrieve data updates from the backend.
I would add some logging in the method; I noticed that in the code you use System.out that should be ok if you have actually access to the console output of the running adapters process.
Just some basic text message in order to verify that the getJSON it is regularly called up for the entire life of the process.
Furthermore, just as a precaution I would add a generic catch to Exception, always in the getJSON method, because this could be the case where an unhandled exception stops the flow of data to the Lightstreamer server.
Regards,
Giuseppe
Similar Threads
-
By kailashb in forum Adapter SDKs
Replies: 2
Last Post: August 20th, 2015, 11:41 AM
-
By Slavko Parezanin in forum Adapter SDKs
Replies: 1
Last Post: January 19th, 2015, 09:43 AM
-
By thanie2001 in forum Client SDKs
Replies: 5
Last Post: August 20th, 2009, 10:38 AM
-
By Mone in forum Client SDKs
Replies: 2
Last Post: October 17th, 2008, 09:22 AM
-
By Mone in forum Client SDKs
Replies: 1
Last Post: April 19th, 2007, 07:42 PM
Tags for this Thread
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 01:17 PM.
Bookmarks