API Version: RHEL8_64_GCC831
In EmaConfig.xml, we defined
<Consumer>
<Name value="consumer1"/>
<ChannelSet value="Channel_1, Channel_2"/>
<Logger value="Logger_1"/>
<Dictionary value="Dictionary_1"/>
<XmlTraceToStdout value="0"/>
</Consumer>
- When we construct OmmConsumer
mConsumer = new OmmConsumer(ommConsumerCfg);
If Channel_1 is not available, OmmException may be thrown
What is the suggest way to retry with Channel_2 when Channel_1 is not available during construct?
- What is the appropriate way to determine if the session is connected or disconnected from OmmConsumerEvent?
void EmaSession::onStatusMsg(const StatusMsg &statusMsg, const OmmConsumerEvent &event)