In the EMAJavaBatchViewExample provided, for the following code snippet, the fieldIds 22 and 25 are given as input to "array" variable. Is there an option to provide FieldNames instead?
AppClient appClient = new AppClient();
consumer = EmaFactory.createOmmConsumer(EmaFactory.createOmmConsumerConfig().host("10.67.4.28:14002").username("user"));
ElementList batchView = EmaFactory.createElementList();
OmmArray array = EmaFactory.createOmmArray();
array.fixedWidth(2);
array.add(EmaFactory.createOmmArrayEntry().intValue(22));
array.add(EmaFactory.createOmmArrayEntry().intValue(25));
OmmArray arrayI = EmaFactory.createOmmArray();
arrayI.add(EmaFactory.createOmmArrayEntry().ascii("AUD="));
arrayI.add(EmaFactory.createOmmArrayEntry().ascii("JPY="));
batchView.add(EmaFactory.createElementEntry().array(EmaRdm.ENAME_BATCH_ITEM_LIST, arrayI));
batchView.add(EmaFactory.createElementEntry().uintValue(EmaRdm.ENAME_VIEW_TYPE, 1));
batchView.add(EmaFactory.createElementEntry().array(EmaRdm.ENAME_VIEW_DATA, array));
consumer.registerClient (EmaFactory.createReqMsg().serviceName("ELEKTRON_EDGE").payload(batchView), appClient);