|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ header format |
« View previous topic :: View next topic » |
Author |
Message
|
chandu85 |
Posted: Thu Dec 01, 2011 7:17 am Post subject: MQ header format |
|
|
Newbie
Joined: 28 Nov 2011 Posts: 7
|
Hi Guys,
I have some basic question on MQ Header ,
In what format data should be placed in MQ,from manuals this is my understanding MQ data = Header + data ( both from placeing the data into the queue and recieving data from the queue ).
Header = MQMD ( MQ message descriptor ) + data.
but i have seen MQRFH2 , I have not understand it and confused on Header part.
Could you please help me on this. |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Dec 01, 2011 7:25 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Do a bit of research. Search google for MQMD structure. It is well-documented. Look also in the WMQ Application Programming Reference documentation. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Dec 01, 2011 7:41 am Post subject: Re: MQ header format |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
chandu85 wrote: |
Header = MQMD ( MQ message descriptor ) + data.
but i have seen MQRFH2 , I have not understand it and confused on Header part. |
The header (as you post it) is the MQMD. It appears on all messages, fields you don't provide (using the methods explained in the document my worthy associate mentions) are provided by the queue manager (according to rules explained in the same document).
There are other, optional headers, you can include with the data. The MQRFH2 is one such. It's not a header in the strict WMQ sense of the word because it's part of the message payload but a header on your data.
The MQRFH2 and all the other optional headers are likewise explained in the referred document. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Dec 01, 2011 7:48 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Also, MQRFH2 headers only apply to MQ version 6 and earlier. Use message properties in MQ v7 and later. |
|
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
|
|
|
|