question

Upvotes
Accepted
1 0 2 3

Cannot read EmaConfig from a specific path

When I try to read EmaConfig.xml from a specific path it doesn't seem to work :

OmmConsumerConfig config(".\config\EmaConfig.xml"); => KO

config.username("xxx");

config.password("yyy");

config.clientId("zzz");

OmmConsumer consumer(config);

consumer.registerClient(ReqMsg().serviceName("ELEKTRON_DD").name("EUR="), client);

The only way to have a EmaConfig.xm working is to put in the current directory of my program.

refinitiv-realtimeelektronelektron-sdkema-apirrtconfiguration
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.

1 Answer

· Write an Answer
Upvotes
Accepted
27.6k 67 18 14

Hello @Nicolas.Belhoste1

Could you please try with the EMA ex111_MP_UserSpecifiedFileCfg example that comes with the SDK package?

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.