Posted: Wed Dec 30, 2009 11:22 am Post subject: Message Data Length
Newbie
Joined: 30 Dec 2009 Posts: 2
When I use spring JMS
JmsTemplate jmsTemplate = (JmsTemplate) applicationContext.getBean("jmsQueueTemplate");
jmsTemplate.convertAndSend("QUEUE_1", "abc");
The string abc is data lenght is 159.
But using direct put on the queue or the code:
MQMessage msg = new MQMessage();
msg.format = CMQC.MQFMT_STRING;
msg.characterSet = 1208;
msg.encoding = 546;
msg.writeString("abc");
queue.put(msg);
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum