Ema - How to set ApplicationName

Hello,

we have a Java application that connects to RTDS to get data from a service and publishes to another service. Data retrieval and publishing are executed via 2 different modules. Each of the 2 modules implement OmmConsumerClient.

We are experiencing issues when running the solution on the customer environment, where publishing is successful very rarely.

We have been told that in some occasions the new RTMDS V3 has issues with applications connecting with the  same Application Name.

By enabling Ema logs we see that both modules connect using the same name "ema":

<elementEntry name="ApplicationName" dataType="ASCII_STRING" data="ema"/>

We do not see any way to set the Application Name in Ema. We are currently using Ema 3.8.0.0, but we do not see that option even in the latest 3.8.2.0.

Is there any way to change it?

Thank you

Answers

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @Daniela Ottino

    Thank you for reaching out to us.

    I couldn't find a way in EMA Java to change the ApplicationName. This could be an enhancement request.

    You can contact the API support team directly via Contact Premium Support to verify this or submit this question on GitHub.

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @Daniela Ottino

    The development team shared an answer on GitHub.

    The application can call the OmmConsumerConfig.addAdminMsg​(…) method with a custom login request message to overide the default login request message. The application can set the new value to the ApplicationName in the custom login request message.