I am trying to consume RIC Codes from our TREP platform using the EMA framework. During start-up, I can set the consumer class to subscribe to different RIC codes like this:
However, is there any way that I can add new RIC codes during runtime to the consumer?
Once you have created and initialized the OmmConsumer - you can call registerClient as and when your application needs to do so in order to register interest in RICs that you wish to consume.
In our examples we call registerClient in the main() method as they are just meant to be simple examples that demonstrate basic functionality.
Is there any way to get the data for only selected fid values with Elektron APi EMA java snapshot class as currently we see it gives the entire list of data for a particular service name and RIC feed value