|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
RFH2 header info ending up in XMLNSC message body |
« View previous topic :: View next topic » |
Author |
Message
|
mustang |
Posted: Fri Apr 18, 2008 6:22 am Post subject: RFH2 header info ending up in XMLNSC message body |
|
|
Acolyte
Joined: 07 Feb 2006 Posts: 72
|
We are on WMB 6. I have a compute module that:
1) Sets the entire outputroot as the input root.
Set OutputRoot = InputRoot;
2) Modifies some elements within the outputroot.
3) Propagates to an output terminal connected to an MQOutput node.
Propagate To Terminal 'out1' Delete None;
4) Returns true to forward the message to a database node.
The database node perists the message body.
Set MESSAGE_TXT = ASBITSTREAM(Root.XMLNSC)
The message is persisted fine in the database.
However, in the earlier propagate, the message on the MQ queue has the RFH2 header included in the body of the message.
RFH 𸠸
<mcd>
<Msd>xmlnsc</Msd>
</mcd>
¨
<jms>...<soap:Envelope ..>..</soap:Envelope>
The following resolves the problem, but I don't believe this is the best solution:
Set OutputRoot.MQRFH2 = Null;
There is no code between the propagate statement to the MQ Output node and the return true statement to the database node.
Any ideas why the message body gets corrupted when propagating to the MQOutput node and not the database node?
Thanks! |
|
Back to top |
|
 |
Vitor |
Posted: Fri Apr 18, 2008 6:59 am Post subject: Re: RFH2 header info ending up in XMLNSC message body |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mustang wrote: |
However, in the earlier propagate, the message on the MQ queue has the RFH2 header included in the body of the message.
RFH 𸠸
<mcd>
<Msd>xmlnsc</Msd>
</mcd>
¨
<jms>...<soap:Envelope ..>..</soap:Envelope>
|
I'm slightly confused by what you mean here. The RFH2 is part of the message body in WMQ terms, i.e. each message contains nothing but an MQMD and a message body hence the RFH2 is in "the message body" by that definition. Extracting the RFH2 is a processing question, typically done via JMS or XMS.
How does the message get "corrupted"? Does the MQMD not show the presence of the RFH2 (as it should)?
What am I missing here?  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mustang |
Posted: Fri Apr 18, 2008 7:57 am Post subject: |
|
|
Acolyte
Joined: 07 Feb 2006 Posts: 72
|
Quote: |
How does the message get "corrupted"? |
When the message is formatted correctly, the RFH2 information displays on various tabs (RFH, jms, usr, etc.) of IBMs MQ viewing tool RFHUTILC. These messages, however, display it as part of the "Message Data" in the utility. |
|
Back to top |
|
 |
mustang |
Posted: Fri Apr 18, 2008 10:07 am Post subject: |
|
|
Acolyte
Joined: 07 Feb 2006 Posts: 72
|
Quote: |
Does the MQMD not show the presence of the RFH2 (as it should)? |
This answered my question.
Thanks! |
|
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
|
|
|
|