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 » WebSphere Message Broker (ACE) Support » How to identify the type of the message

Post new topic  Reply to topic
 How to identify the type of the message « View previous topic :: View next topic » 
Author Message
rajesht1
PostPosted: Thu Aug 05, 2010 8:48 pm    Post subject: How to identify the type of the message Reply with quote

Novice

Joined: 23 Jun 2010
Posts: 21

Hi all,

I am getting a message from a MQINPUT node I dont know the format of the message(whether it is XML,XMLNSC,BLOB,.....).After the MQINPUT node there is a compute node,In the compute node I what to know the format of the message.
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Fri Aug 06, 2010 4:17 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

The format of the message is not the same as the domain WMB has it in. This domain will be whatever the MQInput node is set to (probably BLOB) unless whoever put the message popped an RFH2 header on it.

The format of the message could be anything. It could actually be a BLOB, it could be an XML document (in which case you should use the XMLNSC domain on it, maybe the XMLNS at a push and never the XML one) or it could be some custom or delimited format that you need a message set to interpret.

You could try parsing it into XMLNSC & if that fails try parsing it into every message set you have & then assuming it's a BLOB. Or you could try asking the guy who sends it to include an RFH2.

Or you could question a design that has opaque messages just turning up on a single queue. As a minimum you should segrigate BLOB, XML & other at which point you identify the domain by the door it walks in through.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » WebSphere Message Broker (ACE) Support » How to identify the type of the message
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.