Can we configured EMA application as multiple dispatch threads, in API_DISPATCH mode?

Can we configured EMA application as multiple dispatch threads, in API_DISPATCH mode? In order to have better performance. And how to guarantee the message order in such case if doable?

Tagged:

Best Answer

  • Gurpreet
    Answer ✓

    Hi @Frederic,

    EMA has single internal thread for dispatching the messages in the OperationModel.API_DISPATCH mode. This is provided for convenience. An advanced application can however have multiple threads in the USER_DISPATCH mode, and be responsible for all thread management in the user space. The dispatched events will be sent to the callback and they will be in the order received.