Even if we pass the view to the consumer, it returns all the fields. Our code is:
ElementList view = EmaFactory.createElementList();
OmmArray array = EmaFactory.createOmmArray();
array.fixedWidth(2);
array.add(EmaFactory.createOmmArrayEntry().intValue(22)); // BID
array.add(EmaFactory.createOmmArrayEntry().intValue(25)); // ASK
array.add(EmaFactory.createOmmArrayEntry().intValue(68)); // MATUR_DATE
view.add(EmaFactory.createElementEntry().uintValue(EmaRdm.ENAME_VIEW_TYPE, 1));
view.add(EmaFactory.createElementEntry().array(EmaRdm.ENAME_VIEW_DATA, array));
String instrumentCode = "EUR1M="
consumer.registerClient(reqMsg.serviceName("--").name(instrumentCode).payload(view).interestAfterRefresh(false), appClient);