Hi,
Can someone please advise if I am setting the reply message correctly for the request reply process?
I want to send the message in the form of the StreamMessage.
StreamMessage streamMsg = JCSMPFactory.onlyInstance().createMessage(StreamMessage.class);
// Set the message delivery mode.
streamMsg.setDeliveryMode(DeliveryMode.DIRECT);
SDTStream stream = JCSMPFactory.onlyInstance().createStream();
stream.writeInteger(500);
streamMsg.setStream(stream);
ex.getOut().setBody(streamMsg);
Thanks
Ganesh
Can someone please advise if I am setting the reply message correctly for the request reply process?
I want to send the message in the form of the StreamMessage.
StreamMessage streamMsg = JCSMPFactory.onlyInstance().createMessage(StreamMessage.class);
// Set the message delivery mode.
streamMsg.setDeliveryMode(DeliveryMode.DIRECT);
SDTStream stream = JCSMPFactory.onlyInstance().createStream();
stream.writeInteger(500);
streamMsg.setStream(stream);
ex.getOut().setBody(streamMsg);
Thanks
Ganesh