I'm using the Refinitiv Real-Time SDK to publish data via RCC. I've been experimenting with bouncing the ADS during an RCC contribution session and I'm having some problems with submitting updates once the ADS comes back.
This is the sequence of events.
1) At the start of the session, I create an OmmConsumer object and I register a client for MMT_LOGIN with my credentials.
2) This triggers an onRefreshMsg callback. If this is successful, I register a client for MMT_DICTIONARY, specifying the configured consumer service (RCC).
3) This triggers an onRefreshMsg callback. If this is successful, I register a client for MMT_DIRECTORY, specifying the configured consumer service.
4) This triggers another onRefreshMsg callback. I extract the service state from this and if it is good, I start contributing.
5) When the ADS is taken down, I receive a series of onStatusMsg callbacks telling me that the channel is down. The final one of these explicitly says that the service for item RCC was lost. At this point, I suspend contributions.
6) When the ADS comes back, I receive an onStatusMsg callback telling me that the channel is back up. I also receive an onRefreshMsg callback for the MMT_LOGIN stream, which I ignore. Finally, I receive an onUpdateMsg callback for the MMT_DIRECTORY stream, indicating that the service is back up and running. There are no further callbacks.
7) However, when I try to submit any new updates to RCC, my call to OmmConsumer::submit throws an OmmInvalidUsageException with the text "Failed to submit PostMsg on item stream. Reason: Service name of 'RCC' is not found." From this point on, I can't submit anything to RCC unless I stop and restart my app. I have tried various experiments with unregistering and re-registering everything and even deleting and recreating the consumer object, but nothing seems to make any difference.
Can anyone please give me some pointers as to what I may be doing wrong? I am using version 2.0.1.L1 of the Real Time SDK (C/C++) on Red Hat Enterprise Level 7.6. Many thanks in advance, Jon