|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQRFH2 header contents lost |
« View previous topic :: View next topic » |
Author |
Message
|
MasterGD |
Posted: Thu Feb 21, 2013 7:02 am Post subject: MQRFH2 header contents lost |
|
|
Novice
Joined: 21 Feb 2013 Posts: 10
|
Hi All,
I have teh following situation.my flow contains
SoapInput------->MqOUTput
MqInput -------> SoapReply
Now in order achive this i need to store the SoapIdentifier and pass to the another flow from where SoapReply will send the reply.
Im using MQRFH2 header to store the SoapIdentifier. But In the second flow im getting XMl parser error and Header doent contain anything.. Can any one Plz tell where im doing wrong.
1St flow im using following code
SET OutputRoot.MQRFH2.usr = InputLocalEnvironment.Destination.SOAP.Reply.ReplyIdentifier;
Then in the Second flow im storing it in teh env
SET Environment.Variacbles.SoapIdentifier = InputRoot..MQRFH2.usr;
parsing against XMlnsc in MQinput. Plz let me know where im doing wrong.
Thanks in Advance. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Thu Feb 21, 2013 7:14 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Store the ReplyId in one of the Id fields in the MQMD: CorrelId would be my first choice, ApplIdData next, GroupId third.
Using an RFH header to store a ReplyId is very inefficient. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
Vitor |
Posted: Thu Feb 21, 2013 7:45 am Post subject: Re: MQRFH2 header contents lost |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
MasterGD wrote: |
1St flow im using following code
SET OutputRoot.MQRFH2.usr = InputLocalEnvironment.Destination.SOAP.Reply.ReplyIdentifier; |
How are you creating the MQRFH2 header before storing the id?
Why are not not using something like:
Code: |
SET OutputRoot.MQRFH2.usr..ReplyIdentifier = InputLocalEnvironment.Destination.SOAP.Reply.ReplyIdentifier; |
What does the message (and RFH2) look like on the queue if you browse it manually after putting it? What version of WMQ is in use as that affects the way the queue manager (and consuming application) handles an RFH2?
How do you know the application which puts the reply on your queue is forwarding the RFH2?
Note also how I've formatted the ESQL in my post. Please do this in future to aid legibility (not a critisism, I know you're new, just saying). _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
MasterGD |
Posted: Mon Feb 25, 2013 1:44 am Post subject: |
|
|
Novice
Joined: 21 Feb 2013 Posts: 10
|
Thanks for the reply ill try it..
thanks vitor its worked  |
|
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
|
|
|
|