I am getting below while trying to consume
OmmConsumerConfigImpl::consumerName parameter [Consumer_2] is an non-existent consumer name
I am written below code to connect consumer
{
consumer = EmaFactory.createOmmConsumer(EmaFactory.createOmmConsumerConfig().consumerName("Consumer_2"));
consumer.registerClient( EmaFactory.createReqMsg().serviceName("DIRECT_FEED").name("IBM.N"), appClient, 0);
Thread.sleep(60000);
}
post that I am trying to run below commands
gradle runEMAPerfProvider --args=" -providerName Perf_Provider_1 -tickRate 1000 -updateRate 100000 -latencyUpdateRate 10 -msgFile MsgData.xml -runTime 240"
and consumer side:
java -jar reps-automation-elektron-ema-1.0.0.jar --username="GE-A-00207068-3-8473" --ricorcontrib="FINR" --password="XXXXXX"