|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Help: How to retrieve only the XML part of the message from |
« View previous topic :: View next topic » |
Author |
Message
|
abbsows |
Posted: Tue Jul 28, 2009 7:10 am Post subject: Help: How to retrieve only the XML part of the message from |
|
|
Newbie
Joined: 28 Jul 2009 Posts: 6
|
Hi,
Good Morning!
Currently, the MQ XML message includes MQRFH2 Header when it's placed into the MQ queue from JMS. So, when I retrieve it from MQ, the MQRFH2 Header is included. I would like to know how to only retrieve the XML part of the message, meaning the MQRFH2 part is ignored.
Thanks in advance for your help.
Cheers,
WSO. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Jul 28, 2009 7:14 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Use JMS in Java, or XMS in C.
And try reading some of the documentation, which explains this.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
abbsows |
Posted: Tue Jul 28, 2009 7:20 am Post subject: |
|
|
Newbie
Joined: 28 Jul 2009 Posts: 6
|
Thanks for the quick response. Would anyone help provide some more helpful information. thanks in advance |
|
Back to top |
|
 |
Vitor |
Posted: Tue Jul 28, 2009 7:23 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
abbsows wrote: |
Would anyone help provide some more helpful information. |
What's not helpful about that? The point of JMS (or XMS for non-Java apps) is to allow applications to manipulate JMS messages (containing header and payload) through a standardised, reusable interface. In WMQ terms, the JMS header is carried (mostly) in the RFH2 header.
The documentation explains all of this. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Tue Jul 28, 2009 12:54 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
You can't always use JMS or XMS on the receiving side. In those cases you can tell the sending side that the destination is not JMS (XMS) and the messages will be sent without that header. _________________ Peter Potkay
Keep Calm and MQ On |
|
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
|
|
|
|