We have a provider application developed with RFA.NET 126.96.36.199 that publishes market data on internal feeds. We have recently noticed an issue where quote images published (refreshMsg) after the first are not reaching the client application. Please note that the first image is delivered. The client DataState is OK and the client gets the data updates published without any issue.
I can supply the publisher and subscriber traces . Any ideas what the issue might be ? Is this expected?
Refresh sent without request from client (after the first one) needs to be set as Unsolicited Refresh.
Normally, Refresh message sent as response to a request is Solicited. If provider application tries to publish Refresh message without request from Consumer, the Refresh messages need to be Unsolicited. The Unsolicited Refresh can be set via the RespMsg.RespTypeNum.
- RDM.INSTRUMENT_REFRESH_RESPONSE_TYPES.REFRESH_SOLICITED = 0
- RDM.INSTRUMENT_REFRESH_RESPONSE_TYPES.REFRESH_UNSOLICITED = 1
Below is the sample code.
respMsg.RespTypeNum = RDM.RDM.INSTRUMENT_REFRESH_RESPONSE_TYPES.REFRESH_UNSOLICITED;
No this is not expected.If you send unsolicited refreshes subsequent to the first (Solicited) refresh then any subscribing client should receive it. This might happen if a provider omits one or more attributes that are mandatory for a refresh in the subsequent unsolicited refreshes. If you can provide trace files I will take a look.