question

Upvotes
Accepted
21 0 0 3

How do we perform a right shutdown on my EMA customer ? OmmConsumer.unregister() needed or not ?

How do we perform a right shutdown on our EMA customer ?

  • When we shutdown our EMA Customer process, do we need to use OmmConsumer.unregister() method on every stream handle that we have registered ?
  • Or the call to the method OmmConsumer.uninitialize() will release automatically all stream handles at both Customer and Server sides ?


EMA 3.6.3.1

JAVA

Windows

#technologyema-apiommconsumerunregister
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hi @jean.questiaux ,

Thank you for your participation in the forum.

Is the reply below satisfactory in resolving your query?

If yes please click the 'Accept' text next to the most appropriate reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
22k 58 14 21

Hi @jean.questiaux,

OmmConsumer.uninitialize() will take care of all the cleanup in your application.

More context of this here.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.