For the 'handle' returned by the following statement:
long handle = consumer.registerClient( EmaFactory.createReqMsg().serviceName("ELEKTRON_DD").name(itemName), appClient);
What does '0' mean by EMA design? i.e., the scenario to return '0'
Hi @Frederic
According to the EMA Java documentation for OmmConsumer.registerClient():
This method is ObjectLevelSafe if OmmConsumerErrorClient is used and an error condition is encountered, then null handle is returned.
Is there a particular usage that is giving a 0 return value?
the return value is meant to be a handle for your item stream - so if you get back 0 - then yes a null handle.