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?

Tagged:

Best Answer

  • umer.nalla
    umer.nalla LSEG
    Answer ✓

    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.