Hi,
I am keep receiving 'F2: Source application did not respond' event. How to handle this? Is there a way to stop this after receiving one message?
Hello @hanhuitan
To just stop the status event for this instrument - you can unsubscribe to this particular item.
However, the correct solution to this problem is to figure out the root cause of why your application keeps receiving this message. I would recommend that you reach out to your market data administration team and ask to check the ADS logs.
Hi Gurpreet,
Thanks for the update, we will look further into ADS logs to check why we are keep getting feed.
In the meantime, how can I unsubscribe from onStatusMsg() method? or what's the correct way of doing this?
@hanhuitan
The text indicates that the source application that provides data for the DDS service did not provide any responses back to RTDS system.
I assumed that you got this messages for all subscribed items from the DDS service. This is an expected behavior. For example, if the application subscribed 100 items from the DDS service and the DDS service didn't provide any responses back, the application would retrieve this message 100 times (one message per item).
You need to contact the RTDS team to investigate this problem.
Hi Jirapongse,
I understand this has to be investigated from DDS service. Apart from DDS service I want to have a restriction in my application, so that I don't have open channel with DDS service infinitely. This is more on control from my side.
The Real-Time platform (server like RTDS) automatic sends a status message to Real-Time APIs (like EMA) for each opened stream (item subscriptions). The API does not have a feature to stop RTDS from sending status messages to it.
If you need to ignore the message, it needs to be done on an application level to ignore (not display) the same statue messages.
Each subscription will have a handle. You can retrieve it via the OmmConsumerEvent parameter in the callback methods.
Then, you can use a handle to unregister or unsubscribe an item by passing it to the OmmConsumer.unregister method.