question

Upvotes
Accepted
29 4 7 13

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

Upvotes
Accepted
24.5k 86 10 22

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.