|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Segmentation stopped working after upgrade from 53 to 6, C# |
« View previous topic :: View next topic » |
Author |
Message
|
yetanothersteve |
Posted: Wed Feb 28, 2007 1:04 pm Post subject: Segmentation stopped working after upgrade from 53 to 6, C# |
|
|
Newbie
Joined: 25 Sep 2006 Posts: 3
|
I have a C# program that is placing messages that range from 10kb to 20mb in size. I am using segmentation and reassembly by the queue manager, i.e.,
Code: |
mqMsg.MessageFlags = MQC.MQMF_SEGMENTATION_ALLOWED |
Using MQ Client for Windows, 5.3CSD11, I am able to put a 7mb message on a queue and it was automatically segmented. The channel I am using allows up to 25mb. This succeeds versus both Remote and Local queues that I use.
Using MQ Client for Windows, 6.0.2.0, the same program is unable to put the 7mb message on a queue. The Reason Code returned is a 2010, MQRC_DATA_LENGTH_ERROR with description "Data length parameter not valid."
The MQ Server (Queue manager) is running 5.3CSD08
Does anyone know if there is another flag or property I need to set when using 6.0.2.0 and attempting segmentation and reassembly by the queue manager?
The IBM documentation seems to indicate only the MQC.MQMF_SEGMENTATION_ALLOWED is needed
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzal.doc/handl.htm |
|
Back to top |
|
 |
Nigelg |
Posted: Thu Mar 01, 2007 12:33 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
2010 returned to a client app usually means that the MAXMSGL attribute of the client channel is too small for the msg being put.
Check that the CLNTCONN channel has the right MAXMSGL, either in the AMQCLCHL.TAB client channel table or in the MQCD passed to MQCONNX. _________________ MQSeries.net helps those who help themselves.. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|