We're trying to modify the batch request items after registering the client. Below is what I tried to modify.
long id = consumer.registerClient(EmaFactory.createReqMsg().serviceName("FINANCE_PRICES").payload(batch), appClient);
LOG.info("Id assigned: ==== "+ handle);
consumer.reissue(EmaFactory.createReqMsg().serviceName("FINANCE_PRICES").payload(modifiedBatchWithAdded), handle);
O/P Received
BatchRequestConsumer -- loggerMsg
ClientName: BatchItem
Severity: Error
Text: Invalid attempt to modify batch stream. Instance name=''QUE'.
loggerMsgEnd
Note: With modified batch request, We want to subscribe for different set of items. What's the use case for re-issuing an batch of items? Or Once we register the client we can not modify the batch_item? Any ideas shared will be highly useful and appreciated. Thank you.