question

Upvotes
Accepted
37 1 1 6

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 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
20.3k 73 10 20

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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea