Page 1 of 1

MQ Messsages breaks up

Posted: Wed Apr 21, 2010 8:27 am
by suman27
HI..

We are trying to read a huge XML message from WebSphere MQ connector stage. Data Element of Mesage ID is WSMQ.CORRELID and XML message is just read as varchar of 99999 size. Most of the messages were correctly read, but some XML messages are read in multiple records.
NOt sure of whats going wrong with some XML messages.

Help me out ..


Regards,
Suman Karanam

Posted: Wed Apr 21, 2010 8:46 am
by ArjunK
Could it be because of MQ message segmentation for handling large message sizes?

Posted: Wed Apr 21, 2010 9:35 am
by daignault
http://publib.boulder.ibm.com/infocente ... rplm04.htm

This link indicates that the max size of a message is 64k by default. You will need to increase the buffer.

Regards,

Ray Daignault

Posted: Thu Apr 29, 2010 1:18 pm
by suman27
Thanks Every one.

Issue got solved by increasing the size of APT_MAX_TRANSPORT_BLOCK_SIZE.

Regards,
Suman