Hello,
Please find attached log new 2.txt. Unable to figure out the source of the error, I am subscribing to 3k RIC's using batch request and getting streaming updates. Once I get the updates, I retrieve the ask price and put it on a queue as follows -
@Override
public void onRefreshMsg(final RefreshMsg refreshMsg, final OmmConsumerEvent event) {
log.debug("RefreshMsg");
if (refreshMsg.hasName() && (DataType.DataTypes.FIELD_LIST == refreshMsg.payload()
.dataType())) {
Entity entity = new Entity();
entity.setRefreshMsg(refreshMsg);
this.jmsTemplate.convertAndSend(Queues.BATCH_UPDATE, entity);
}
}
@Override
public void onUpdateMsg(final UpdateMsg updateMsg, final OmmConsumerEvent event) {
log.debug("updateMsg");
if (updateMsg.hasName() && (DataType.DataTypes.FIELD_LIST == updateMsg.payload()
.dataType())) {
Entity entity = new Entity();
entity.setUpdateMsg(updateMsg);
this.jmsTemplate.convertAndSend(Queues.BATCH_UPDATE, entity);
}
}
I have set Output buffers as below -
innerElementList.add(EmaFactory.createElementEntry()
.intValue("GuaranteedOutputBuffers", 50000));