What are the recommended best practices for handling errors received via the OmmConsumerClient::onStatusMsg(StatusMsg, OmmConsumerEvent) callback?
On Saturday morning, a number of our subscriptions received status messages indicating Closed / Suspect / Not Entitled / Reverify. These messages were delivered via onStatusMsg. Based on this, our application logic interpreted the state as DOWN.
However, shortly afterwards we continued to receive data for the same subscriptions via onUpdateMsg(UpdateMsg, OmmConsumerEvent). As a result, the application transitioned back to UP (our assumption being that if updates are flowing, the application is effectively up).
This has raised a few questions about the correct handling strategy:
Should we resubscribe to the affected symbols when receiving these status messages?
Should we log off and re-establish the session?
Or should onStatusMsg be treated as advisory, with application health primarily determined by the presence or absence of updates?
Any guidance on the intention of these status messages and recommended handling would be great.