EMA: What does the '0' mean for returned 'handle' during registerClient?

Options

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'

Tagged:

Best Answer

  • umer.nalla
    umer.nalla LSEG
    Answer ✓

    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?


Answers