question

Upvotes
Accepted
1 0 1 2

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.

elektronrefinitiv-realtimeelektron-sdkrrtema-apiconfiguration
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

Upvotes
Accepted
16.7k 31 9 12

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.