ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Help: How to retrieve only the XML part of the message from

Post new topic  Reply to topic
 Help: How to retrieve only the XML part of the message from « View previous topic :: View next topic » 
Author Message
abbsows
PostPosted: Tue Jul 28, 2009 7:10 am    Post subject: Help: How to retrieve only the XML part of the message from Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Tue Jul 28, 2009 7:14 am    Post subject: Reply with quote

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
View user's profile Send private message
abbsows
PostPosted: Tue Jul 28, 2009 7:20 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Tue Jul 28, 2009 7:23 am    Post subject: Reply with quote

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
View user's profile Send private message
PeterPotkay
PostPosted: Tue Jul 28, 2009 12:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Help: How to retrieve only the XML part of the message from
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.