Hi,
I would like to get real-time updates for only specific fields of a RIC. I've using the below sample code for the dynamic view/field filtering.
ElementList view = EmaFactory.createElementList();
OmmArray array = EmaFactory.createOmmArray();
array.fixedWidth(2);
array.add(EmaFactory.createOmmArrayEntry().intValue(22));
array.add(EmaFactory.createOmmArrayEntry().intValue(25));
view.add(EmaFactory.createElementEntry().uintValue(EmaRdm.ENAME_VIEW_TYPE, 1));
view.add(EmaFactory.createElementEntry().array(EmaRdm.ENAME_VIEW_DATA, array));
consumer.registerClient(EmaFactory.createReqMsg().serviceName("IDN_RDF").name("JPY=").payload(view), appClient);
However, the view/filter seems to be ignored by the api and I get updates for all fields. Am I missing anything ?
I connecting to our internal TREP/ADS server. Has it anything to do with version of this server ?
Thanks in advance.
Mani