-
May 30th, 2018, 09:06 AM
#4
Hi Rajesh,
The SubscriptionException informs the server that the item is considered failed, and just as in the case of success the subscribe method will no longer be called until at least one active client keeps a subscription for that Item.
I think that the best practice to cope with such a scenario is that once the Data Adapter determines that the item name is valid, but an external service fails is to return succesfully the subscribe method an start a background task polling the external service at regular intervals.
If an unbsubscribe will be called before you got a reply from the external service the task will be cancelled.
Otherwise, if you want to avoid the background task, you should let communicate the Metadata Adapter with the Data Adapter, and replace the subsequent subscribe calls with the notifyNewTable calls.
Regards,
Giuseppe
Similar Threads
-
By sjohn in forum Client SDKs
Replies: 11
Last Post: January 23rd, 2015, 11:22 AM
-
By tstojano in forum Client SDKs
Replies: 1
Last Post: August 13th, 2008, 04:12 PM
-
By TonyRoberts in forum Adapter SDKs
Replies: 10
Last Post: September 12th, 2007, 02:46 PM
-
By Waddy in forum Client SDKs
Replies: 4
Last Post: May 14th, 2007, 02:38 PM
-
By Waddy in forum General
Replies: 2
Last Post: March 16th, 2007, 06:06 AM
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 04:49 AM.
Bookmarks