Posted: Mon Oct 21, 2002 2:38 pm Post subject: Maximum Message Size
Newbie
Joined: 10 Oct 2002 Posts: 9
I've been experiencing some trouble with the message size on MQSeries V 5.3.
I'm tryng to handle a message of more than 5 MB, but the response from the application is always Reason: 2030 (Message to big for Q).
I've already changed the value of MAXMSGL in the QUEUE and teh QMGR, but I receive the same response.
I've already changed some values en the REGISTRY but theresponse is the same.
If you are MQCONNecting as a client, you'll also need to generate a client connection table that supports >4Mb (the default) sizing for the SVRCONN/CLNTCONN channels. You can't just alter the one that's there using ALTER CHANNEL commands. You must create a new one with at least one channel defined with > 4Mb MAXMSGL.
Also check the definitions for any QMODELs that your application may be using. _________________ Cheers,
Techy
I've been doing the same thing recently. As Leongor says you'll need to change the MAXMSGL on the xmitq and channels to. I am using a clustered environment and you need to make changes at both the sending and receiving end.
Example. If you're sending a msg to from QM1 to a clustered Q TEST on QM2 (where QM1 and QM2 are both repositories) then make the following amendments:
QM1
---
ALTER QMGR MAXMSGL(20971520)
ALTER CHANNEL(TO_QM2) CHLTYPE(CLUSSDR) MAXMSGL(20971520)
ALTER CHANNEL(TO_QM1) CHLTYPE(CLUSRCVR) MAXMSGL(20971520)
ALTER QL(SYSTEM.DEFAULT.LOCAL.QUEUE) MAXMSGL(20971520)
ALTER QL(SYSTEM.DEAD.LETTER.QUEUE) MAXMSGL(20971520)
ALTER QL(SYSTEM.CLUSTER.TRANSMIT.QUEUE) MAXMSGL(20971520)
QM2
---
ALTER QMGR MAXMSGL(20971520)
ALTER CHANNEL(TO_QM1) CHLTYPE(CLUSSDR) MAXMSGL(20971520)
ALTER CHANNEL(TO_QM2) CHLTYPE(CLUSRCVR) MAXMSGL(20971520)
ALTER QL(SYSTEM.DEFAULT.LOCAL.QUEUE) MAXMSGL(20971520)
ALTER QL(SYSTEM.DEAD.LETTER.QUEUE) MAXMSGL(20971520)
ALTER QL(SYSTEM.CLUSTER.TRANSMIT.QUEUE) MAXMSGL(20971520)
ALTER QL(TEST) MAXMSGL(20971520) _________________ 2189 errors make me
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