|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Maximum message length vs the message length |
« View previous topic :: View next topic » |
Author |
Message
|
jainvik7 |
Posted: Thu Apr 13, 2006 12:29 am Post subject: Maximum message length vs the message length |
|
|
Apprentice
Joined: 19 Feb 2006 Posts: 38
|
Hello All,
This question might sound a bit trivial but i just thought of posting it to clarify my doubt.
When we define the maximum message length of a queue, does that mean --->
application message length (data) + message descriptor. What I mean to ask is do we have to take into account the length of the message descriptor before defining the maxmsglength.
This is what I tried. I defined a queue called TEST (naming convention not followed) and set his maxmslength property to just 4 bytes. I tried putting 4 bytes of data in the queue and it was successfull. I can also see the message descriptor of the message (right click -- > message properties on windows ).
Would appreciate if someone can throw some more light on this or send me some pointers.
Thanks |
|
Back to top |
|
 |
mvic |
Posted: Thu Apr 13, 2006 1:18 am Post subject: Re: Maximum message length vs the message length |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
|
Back to top |
|
 |
wschutz |
Posted: Thu Apr 13, 2006 1:51 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Correct, the maxmsgl parameter doesn't include the MQMD..and..interestingly enough, if you cause a MQMDE to be generated (by using message grouping as an example), the MQMDE that MQ actually puts at the beginning of the message doesn't count either. (At least on my V6.0.0.1 Linux qmgr).
But as the doc says that mvic points to, if there is a chance for a MQDH or MQDLH being placed in the message, you'd be in trouble. _________________ -wayne |
|
Back to top |
|
 |
jainvik7 |
Posted: Thu Apr 13, 2006 3:05 am Post subject: |
|
|
Apprentice
Joined: 19 Feb 2006 Posts: 38
|
Thanks mvic/wschutz for your inputs.  |
|
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
|
|
|
|