question

Upvotes
Accepted
4 2 5 9

Is there a way to specify RICs to registerClient(subscribe) to via the EmaConfig.xml file?

For example in AppClient portion of the basic Consumer.cpp app I've simply used two EmaString variables (ricCode and ricCode2) to be used as arguments in simply registering(subscribing) to two RICs which I took from the command line:

try {

AppClient client; OmmConsumer consumer(OmmConsumerConfig().host(hostAndPort).username(user)); consumer.registerClient(ReqMsg().serviceName("ELEKTRON_DD").name(ricCode), client); consumer.registerClient(ReqMsg().serviceName("ELEKTRON_DD").name(ricCode2), client); sleep(60000);// API calls onRefreshMsg(), onUpdateMsg(), or onStatusMsg()

}

Is there a way which already exist where I can specify which RICs I want to subscribe to in the EmaConfig.xml file?

elektronrefinitiv-realtimeelektron-sdkema-apirrtelektron-message-apirics
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
121 1 0 1

Existing EMA releases don't support this kind of functionality.

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.