Thank you for your reply.

You said the item "will be just discarded by the server". I want to override that. I am using ItemEventListener.update() but no where in the ItemEventListener API does it list a way to do this or catch the error. Unless I am missing something...

The only solution it seems, (and I think you mentioned) is to manually track subscriptions with subscribe/unsubscribe and manually check them before each call of listener.update().

Do I have it correct?



Quote Originally Posted by marco.testa View Post
Hi Tony,

Actually, when the are no more active subscription, the Lightstreamer Server notifies the Data Adapter on the unsubscribe method.
The Data Adapter is supposed to stop sending updates for this item. Any subsequent update sent by the Data Adapter for the unsubscribed item will be just discarded by the server. (see the update or the smartUpdatye methods in the ItemEventListener interface).
In other words, is up to the Data Adapter to track which item is not subscribed anymore by the Lightstreamer Server and avoid to send updates for it, but take the required action in case.

cheers
Marco