Hi,
I have this issue with consumer.unregister() in EMA C++ SDK 1.4.0L1 as well in 1.5.0.L1.
The issue is that after I register a client (consumer is type OmmConsumer) using the batch mode, (thomsonreuters::ema::rdm::ENAME_BATCH_ITEM_LIST)
UInt64 handle = consumer.registerClient(...thomsonreuters::ema::rdm::ENAME_BATCH_ITEM_LIST...)
everything works OK except the unregister.
Calling consumer.unregister(handle); I get exception:
thomsonreuters::ema::access::OmmInvalidUsageExceptionImpl
and in EMA log file I do get:
Invalid attempt to close batch stream. Instance name='EmaConsumer_1'.
Unregister call (consumer.unregister(handle) ) works OK when I am NOT using BATCH mode.
This happens only for the BATCH mode consumer type.
Any ideas much appreciated.
Thank you,