|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ Message Properties vs MQRFH2.usr folder in MB v7 onwards |
« View previous topic :: View next topic » |
Author |
Message
|
mbwannabe1 |
Posted: Tue Aug 14, 2012 1:29 pm Post subject: MQ Message Properties vs MQRFH2.usr folder in MB v7 onwards |
|
|
Novice
Joined: 18 Apr 2012 Posts: 13
|
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Aug 14, 2012 1:33 pm Post subject: Re: MQ Message Properties vs MQRFH2.usr folder in MB v7 onwa |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
mqjeff |
Posted: Tue Aug 14, 2012 3:45 pm Post subject: Re: MQ Message Properties vs MQRFH2.usr folder in MB v7 onwa |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
That said, the problem is that neither Broker v7 nor Broker v8 support MQ v7 properties, except indirectly through the RFH2.
https://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=20925
Presumably some concern from the development side was the potential confusion between Root.Properties and something like Root.MQMD.Properties (which doesn't exist, and may or may not be a name that is anything other than my own wild guess).
The "Good" news is that if you have a Broker running on MQ v7, 7.1, or 7.5, it will map from the MQRFh2 to the message properties, and vice versa, "automatically" for you.
That said, you may run into some compatibility issues with some applications. |
|
Back to top |
|
 |
mqxplorer |
Posted: Wed Dec 12, 2012 2:04 pm Post subject: Re: MQ Message Properties vs MQRFH2.usr folder in MB v7 onwa |
|
|
 Master
Joined: 22 Jun 2009 Posts: 206
|
mqjeff wrote: |
That said, the problem is that neither Broker v7 nor Broker v8 support MQ v7 properties, except indirectly through the RFH2.
https://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=20925
Presumably some concern from the development side was the potential confusion between Root.Properties and something like Root.MQMD.Properties (which doesn't exist, and may or may not be a name that is anything other than my own wild guess).
The "Good" news is that if you have a Broker running on MQ v7, 7.1, or 7.5, it will map from the MQRFh2 to the message properties, and vice versa, "automatically" for you.
That said, you may run into some compatibility issues with some applications. |
When you say message properties... I understood it is Input(or)OutputRoot.Properties.. Is that correct?
Code: |
WebSphere MQv7 completely replaced the process of atttaching metadata to a message, to stop relying on the overly complicated MQRFH2 header and use a new Message Properties that are carried separately from the message |
I read the above info from the link you provided. It says new Message Properties.. I guess, I am bit confused with this.
I have two flows where one flow sends some info in MQRFH2 header (usr folder) to a tempoarry queue which I will get in second flow using MQGet (get by correild) and I am trying to use the info in usr folder of MQRFH2 header in the second flow. However, when I am assinging the value in usr folder to a variable, I don't see any value set to it even though I see the value in usr folder of the message got by MQGet node. We have our broker running on V7 and MQ on V7. Is it something to do with the info you provided or do I have to make any chnages to the queue properties to have the Message properies populated with the values in RFH2 header?
Thanks
mqxplorer |
|
Back to top |
|
 |
Vitor |
Posted: Thu Dec 13, 2012 3:58 am Post subject: Re: MQ Message Properties vs MQRFH2.usr folder in MB v7 onwa |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mqxplorer wrote: |
When you say message properties... I understood it is Input(or)OutputRoot.Properties.. Is that correct? |
No. If you re-read the post, my most worthy associate said:
mqjeff wrote: |
The "Good" news is that if you have a Broker running on MQ v7, 7.1, or 7.5, it will map from the MQRFh2 to the message properties, and vice versa, "automatically" for you. |
So any message properties appear in the message tree as an RFH2 header, and in the actual message as message properties. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqxplorer |
Posted: Wed Dec 19, 2012 1:15 pm Post subject: Re: MQ Message Properties vs MQRFH2.usr folder in MB v7 onwa |
|
|
 Master
Joined: 22 Jun 2009 Posts: 206
|
Vitor wrote: |
mqxplorer wrote: |
When you say message properties... I understood it is Input(or)OutputRoot.Properties.. Is that correct? |
No. If you re-read the post, my most worthy associate said:
mqjeff wrote: |
The "Good" news is that if you have a Broker running on MQ v7, 7.1, or 7.5, it will map from the MQRFh2 to the message properties, and vice versa, "automatically" for you. |
So any message properties appear in the message tree as an RFH2 header, and in the actual message as message properties. |
I think, I am confused here.. Let us say.. I have a message flow which sets up MQRFH2 header with some info in usr folder and places the messages in a queue. There is another message flow which reads the message placed by the first flow and when I see the message in debug mode, I should see the RFH2 header mapped to message properties.. is that correct? If this is the case, I don't see that happening. What is this Message properties .. Will broker create a folder called Message Properties before the Payload which has the conetnts mapped from RFH2 header? The property Control on my queue is "Compatibility".
Thanks
mqxplorer |
|
Back to top |
|
 |
Vitor |
Posted: Wed Dec 19, 2012 1:33 pm Post subject: Re: MQ Message Properties vs MQRFH2.usr folder in MB v7 onwa |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mqxplorer wrote: |
There is another message flow which reads the message placed by the first flow and when I see the message in debug mode, I should see the RFH2 header mapped to message properties.. is that correct? If this is the case, I don't see that happening. What is this Message properties .. Will broker create a folder called Message Properties before the Payload which has the conetnts mapped from RFH2 header? |
For reasons which presumably make perfect sense to IBM, WMB always exposes WMQv7 message properties in the message tree as an RFH2 header, as my most worthy associate says. So you'll see the Properties folder, which contains the WMB properties, and an RFH2 folder which includes the properties from the message. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
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
|
|
|
|