question

Upvotes
Accepted
35 7 9 12

what is the purpose of EmaConfig.xml in Elektron EMA API ?

elektronrefinitiv-realtimeelektron-sdkema-apirrtelektron-message-api
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.

Monitored by @Nipat Kunvutipongsak

1 Answer

· Write an Answer
Upvotes
Accepted
1.9k 7 10 16

Hello @Chaitanya.Vishnubhotla,

EmaConfig.xml is used to specify the behavior of EMA API such as connection establishment, dumping communication messages, request time out, etc.

The other benefit from separating the configuration setting from the business logic is that you can just change EmaConfig.xml only when you change the server environment or want to debug incoming/outgoing data. So, you don't have to re-compile your source code again, which is convenient for this scenario.

Here this is the overview from EMAJ_ConfigGuide -- a pdf document located in the <ELEKTRON_SDK_PACKAGE>\Ema\Docs directory.

You write the Message API configuration using a simple XML schema, some settings of which can be changed via software function calls. The initial configuration compiled into the Message API software defines a minimal set of configuration parameters. Message API users can also supply an XML file (EmaConfig.xml) to specify configuration parameters, which must be put in the same directory as the EMA application. Additionally, programmatic interfaces can change parameter settings.

Hope this helps!


ema-config.png (35.6 KiB)
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.