I am using Consumer app in example from EMA. Everything is fine and I have an infinite loop and let the callback handle refresh and update messages.
The issue is when the upstream disconnects the EMA tries to reconnect until ReconnectAttemptLimit is reached and stops trying again which is expected. However due to my infinite loop to let the app run forever, I am in situation where I do not know if the EMA is retrying or the ReconnectAttemptLimit is reached and will not retry to connect. Is there any way for me to see if the ReconnectAttemptLimit is reached?
I see that the Ema log shows Severity as Warning when it tries to reconnect and as Error when the retry limit is reached.
loggerMsg
TimeStamp: 10:54:25.573
ClientName: ChannelCallbackClient
Severity: Warning
Text: Received ChannelDownReconnecting event on channel Channel_1
Instance Name Consumer_1_1
RsslReactor 0x0x153ebe0
RsslChannel 0x0x153e3c0
Error Id -1
Internal sysError 107
Error Location /local/jenkins/workspace/ESDKCore_RCDEV/OS/RH8-64/rcdev/source/rtsdk/Cpp-C/Eta/Impl/Reactor/rsslReactorWorker.c:1480
Error Text </local/jenkins/workspace/ESDKCore_RCDEV/OS/RH8-64/rcdev/source/rtsdk/Cpp-C/Eta/Impl/Transport/rsslSocketTransportImpl.c:6115> Error: 1002 ipcConnecting() client connect() failed. System errno: (107)
loggerMsgEnd
loggerMsg
TimeStamp: 10:54:33.627
ClientName: ChannelCallbackClient
Severity: Error
Text: Received ChannelDown event on channel Channel_1
Instance Name Consumer_1_1
RsslReactor 0x0x153ebe0
RsslChannel 0x0x1539aa0
Error Id -1
Internal sysError 107
Error Location /local/jenkins/workspace/ESDKCore_RCDEV/OS/RH8-64/rcdev/source/rtsdk/Cpp-C/Eta/Impl/Reactor/rsslReactorWorker.c:1480
Error Text </local/jenkins/workspace/ESDKCore_RCDEV/OS/RH8-64/rcdev/source/rtsdk/Cpp-C/Eta/Impl/Transport/rsslSocketTransportImpl.c:6115> Error: 1002 ipcConnecting() client connect() failed. System errno: (107)
loggerMsgEnd
Through debug I can see when the retry limit is reached the channel is put into delete list but as OmmConsumer, I do not have any way to access that list since it is private. Any help please on figuring out if the EMA has reached reconnect attempt and will not try to reconnect?