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 » Event message parsing

Post new topic  Reply to topic
 Event message parsing « View previous topic :: View next topic » 
Author Message
Gibbs00
PostPosted: Fri Nov 23, 2007 2:53 am    Post subject: Event message parsing Reply with quote

Novice

Joined: 06 Sep 2007
Posts: 14

Hi there,

Once I have an event message on a queue, how do I parse it to something recognizable? Message Broker only receives it as a blob...

Thank you,
Shaun
Back to top
View user's profile Send private message
shalabh1976
PostPosted: Fri Nov 23, 2007 3:03 am    Post subject: Reply with quote

Partisan

Joined: 18 Jul 2002
Posts: 381
Location: Gurgaon, India

I am not sure if I understand you correctly. If you know the format of the message maybe you can map it to a message set. If it is XML you can parse it as such. If the text is unreadable and you know it is character then you can try doing a cast to a char using the proper ccsid & encoding.
_________________
Shalabh
IBM Cert. WMB V6.0
IBM Cert. MQ V5.3 App. Prog.
IBM Cert. DB2 9 DB Associate
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
AkankshA
PostPosted: Fri Nov 23, 2007 3:18 am    Post subject: Re: Event message parsing Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

Gibbs00 wrote:

Message Broker only receives it as a blob...



Is that your design characteristic or an assumption made.... ???
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
Vitor
PostPosted: Fri Nov 23, 2007 3:21 am    Post subject: Re: Event message parsing Reply with quote

Grand High Poobah

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

Gibbs00 wrote:
Once I have an event message on a queue, how do I parse it to something recognizable? Message Broker only receives it as a blob...


If you mean an MQ event message, it has a recognised structure which you could parse into a message set rather than a blob. There may even be a pre-written message set someplace; I'm not aware of one but maybe someone knows better?
_________________
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 » Event message parsing
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.