ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Maximum message length vs the message length

Post new topic  Reply to topic
 Maximum message length vs the message length « View previous topic :: View next topic » 
Author Message
jainvik7
PostPosted: Thu Apr 13, 2006 12:29 am    Post subject: Maximum message length vs the message length Reply with quote

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
View user's profile Send private message
mvic
PostPosted: Thu Apr 13, 2006 1:18 am    Post subject: Re: Maximum message length vs the message length Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

jainvik7 wrote:
Would appreciate if someone can throw some more light on this or send me some pointers.

Does this help? http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/topic/com.ibm.mq.csqzal.doc/chmsgt.htm
Back to top
View user's profile Send private message
wschutz
PostPosted: Thu Apr 13, 2006 1:51 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
jainvik7
PostPosted: Thu Apr 13, 2006 3:05 am    Post subject: Reply with quote

Apprentice

Joined: 19 Feb 2006
Posts: 38

Thanks mvic/wschutz for your inputs.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Maximum message length vs the message length
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.