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 Discussion » What is the size of an empty MQ message?

Post new topic  Reply to topic
 What is the size of an empty MQ message? « View previous topic :: View next topic » 
Author Message
sammyG
PostPosted: Tue May 15, 2007 6:21 am    Post subject: What is the size of an empty MQ message? Reply with quote

Novice

Joined: 15 May 2007
Posts: 10

I'd like to know what the minimum size of an MQ message is. That is, with an empty message body, how many bytes does the message take up when transmitted on the wire?

if no one knows, i'd settle for an easy way to find out.

thanks,

sam
Back to top
View user's profile Send private message
tleichen
PostPosted: Tue May 15, 2007 6:52 am    Post subject: Reply with quote

Yatiri

Joined: 11 Apr 2005
Posts: 663
Location: Center of the USA

Minimally, it's the size of the message descriptor that you are using. There are a couple different sizes of MDs, depending on which version of the MD you are using. This of course, does not count any low-level communication headers, etc. Are you interested in this from a "data on the queue" perspective, or are you interested in communication bandwidth?
_________________
IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue May 15, 2007 6:53 am    Post subject: Reply with quote

Guest




A message desciptor (MQMD) accompanies every message. When the message arrives in a transmission queue, a transmision queue header (XQH) is added to you message (MQMD and your application data). This is what gets sent on the network.

Refer to the MQ V6 Application Programming Reference.
Back to top
sammyG
PostPosted: Tue May 15, 2007 6:54 am    Post subject: Reply with quote

Novice

Joined: 15 May 2007
Posts: 10

i'm interested in communication bandwidth.

thanks for replies so far..
Back to top
View user's profile Send private message
EddieA
PostPosted: Tue May 15, 2007 10:32 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

No doubt, MQ adds more for the actual wire transmission. But, they aren't going to document that.

Try a "sniffer".

Cheers.
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue May 15, 2007 10:49 am    Post subject: Reply with quote

Guest




Message channels send messages in one direction only; but there is back and forth communication on the channel between MCA's (Message Channel Agents) to keep the channels in syncronization.
Back to top
Michael Dag
PostPosted: Tue May 15, 2007 12:17 pm    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

sammyG wrote:
i'm interested in communication bandwidth.

thanks for replies so far..

If your concern is that you don't have enough bandwidth you can look at the channel compression options (assuming you are on V6), MQ will compress the data before sending...
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
sammyG
PostPosted: Wed May 16, 2007 1:30 am    Post subject: Reply with quote

Novice

Joined: 15 May 2007
Posts: 10

I think that a sniffer would give the most complete answer given the various points raised (and without trying to figure out how various options/platforms/encoding etc etc change the result).

I'm interested in the channel compression option but our counterparty has told us that a) they use v5.x and b) they have found compression to be very difficult to work with.

So, is v6 and v5.x compression compatible?

and is it very hard to set up? bearing in mind that they are alleged experts and I am a total newbie. my experience with MQ is pressing next..next..finish on the install.
Back to top
View user's profile Send private message
zpat
PostPosted: Wed May 16, 2007 1:47 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

MQ V6 now has channel data compression features as standard. It looks very easy to set up (much easier than writing message exits for example).

Channels will negotiate the best compatible compression available, so that if you connect V5 to V6 it will still work, but not compress the data.
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 Discussion » What is the size of an empty MQ message?
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.