Author |
Message
|
kush911 |
Posted: Fri Apr 27, 2007 8:18 am Post subject: putting message in a remote queue |
|
|
Novice
Joined: 17 Aug 2006 Posts: 11
|
Hi,
I made 2 channels - Sender(for MQmanager1) and Receiver (MQ Manager2). also created remote queue on manager1 and local queue on manager 2. One transmission queue for manager1.
Now when i am trying to put the message in the remote queue thru Manager 1 it is giving MQRC_MSG_TOO_BIG_FOR_Q.
I checked the max msg length of all the above objects its same as 30 and also I am passing 30 in buffer length still i am getting this error.
Pls suggest |
|
Back to top |
|
 |
marcin.kasinski |
Posted: Fri Apr 27, 2007 9:00 am Post subject: Re: putting message in a remote queue |
|
|
Sentinel
Joined: 21 Dec 2004 Posts: 850 Location: Poland / Warsaw
|
kush911 wrote: |
Hi,
I made 2 channels - Sender(for MQmanager1) and Receiver (MQ Manager2). also created remote queue on manager1 and local queue on manager 2. One transmission queue for manager1.
Now when i am trying to put the message in the remote queue thru Manager 1 it is giving MQRC_MSG_TOO_BIG_FOR_Q.
I checked the max msg length of all the above objects its same as 30 and also I am passing 30 in buffer length still i am getting this error.
Pls suggest |
It means your message is to big.
The most imprtant thing here is that max message size is max size of your message data and MQ headers together. _________________ Marcin |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Apr 27, 2007 9:21 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
MaxMsgLn needs to be set on qmgrs, channels, xmitqs, destination qs. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Apr 27, 2007 12:45 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
jefflowrey wrote: |
MaxMsgLn needs to be set on qmgrs, channels, xmitqs, destination qs. |
Let's just add DLQs and Logspace with a reflection on logspace and batchsize for the channel  _________________ MQ & Broker admin |
|
Back to top |
|
 |
kush911 |
Posted: Sat Apr 28, 2007 11:36 am Post subject: |
|
|
Novice
Joined: 17 Aug 2006 Posts: 11
|
i know it what it means .. i have already checked the max sizes of my queues and channels they are ok.
and also i am just writing 1 letter in the queue. |
|
Back to top |
|
 |
marcin.kasinski |
Posted: Sat Apr 28, 2007 11:48 am Post subject: |
|
|
Sentinel
Joined: 21 Dec 2004 Posts: 850 Location: Poland / Warsaw
|
You didn't mentioned if you checked MQmanager1, and MQmanager2.
Show here definition of xmitq, sender channel, receiver channel, MQmanager1, and MQmanager2.
Maybe there is something in QMGR logs. Have you checked it ?
Error message is very simple and there are 2 options:
1. There is a limit on MQ objects you miss.
2. You are trying to put more data you think. _________________ Marcin |
|
Back to top |
|
 |
jefflowrey |
Posted: Sat Apr 28, 2007 3:47 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
kush911 wrote: |
i know it what it means .. i have already checked the max sizes of my queues and channels they are ok.
and also i am just writing 1 letter in the queue. |
Did you check the MaxMsgLn of the queue manager?
 _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
jefflowrey |
Posted: Sat Apr 28, 2007 3:48 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Duplicate post? Sorry. _________________ I am *not* the model of the modern major general.
Last edited by jefflowrey on Mon Apr 30, 2007 11:24 am; edited 1 time in total |
|
Back to top |
|
 |
kush911 |
Posted: Mon Apr 30, 2007 2:11 am Post subject: |
|
|
Novice
Joined: 17 Aug 2006 Posts: 11
|
tnx guys,
Marcin was right in saying -
The most imprtant thing here is that max message size is max size of your message data and MQ headers together.
Now other problem has occured that the message is there in my transmission queue(Qmanager 1) but its not getting to the Local Q of (qmanager 2) . sender of qmanager 1 and rceiver of qmanager2 are also running. |
|
Back to top |
|
 |
|