question

Upvotes
Accepted
33 9 12 29

Can we control the watchlist to not include the existing subscribed RICs?

EMA C++ RTO application,

Looks like we will create 2 data streams (each with different handle) by the below expressions:

consumer.registerClient(reqMsg.serviceName("ELEKTRON_DD").name("/CNY="), appClient);
Thread.sleep(2000);
consumer.registerClient(reqMsg.serviceName("ELEKTRON_DD").name("/CNY="), appClient);
Thread.sleep(60000);

Then those 2 data streams will continuously get the same REFRESH and UPDATE messages.

The question is can we control the behavior of the watchlist to have only 1 data stream for one RIC, no duplicate RIC data streams created?

rrto
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
25.3k 87 12 25

Hi @Frederic

The question does not make sense to me.

Why would you subscribe to the same instrument twice and create two event streams, but only want data from one stream?

If you only want one set of events, then create only one stream - don't subscribe to the same instrument twice.

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.