I got a timeout errors due to network maintenance on EaaS ADS.
I'd like to know how can I register a listener in case that happens again.
AFAIK, Possible candidate might be either OmmConsumerErrorClient, or OmmConsumerClient ?
2019-02-03 21:30:58.653 ERROR 151369 --- [pool-4-thread-1] c.t.ema.access.OmmConsumerImpl : loggerMsg ClientName: ChannelCallbackClient Severity: Error Text: Channel_3 Instance Name BetaBlueConsumer_1 RsslReactor @789a0ab9 RsslChannel @3a211627 Error Id 0 Internal sysError 0 Error Location Reactor.processWorkerEvent Error text Error - exceeded initialization timeout (5 s) loggerMsgEnd
You can monitor network/connection loss due to any reason including time out by registering the login stream. Please refer to the example:
EMA Java is consumer\series300\example330__Login__Streaming
EMA C++ is Consumer\300_Series\330__Login__Streaming
For more details, please refer to the Best Answer in the question, [EMA Java] How to receive connection level events such as a disconnection? which seems to be related to your question.
Hope this help.
Getting -> ClientName: ChannelCallbackClient Text: Received ChannelDownReconnecting event on channel Channel_1 Error Id 0 Internal sysError 0 Error Location Reactor.processWorkerEvent Error text Error - exceeded initialization timeout (5 s)