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 » XMLParser PluginNode.

Post new topic  Reply to topic
 XMLParser PluginNode. « View previous topic :: View next topic » 
Author Message
rajmq
PostPosted: Sat Jan 11, 2003 12:35 am    Post subject: XMLParser PluginNode. Reply with quote

Partisan

Joined: 29 Sep 2002
Posts: 331
Location: USA

Hi,

My application needs to read publish xml message, presently i am using separate java program(using the xmlparser API) for Parsing.But i want to control these xml parser in Wmqi level using PluginNodes.
Can any one suggest,How to achive this one??
thanks in Advance
raj
Back to top
View user's profile Send private message
kirani
PostPosted: Sat Jan 11, 2003 12:01 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

WMQI has standard XML Parser. You can configure your MQInput node to apply this parser on your input messages by selecting XML in Message Domain. RCD node can also be used to change message domain to XML.

I hope this helps.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
rajmq
PostPosted: Sat Jan 11, 2003 11:35 pm    Post subject: Reply with quote

Partisan

Joined: 29 Sep 2002
Posts: 331
Location: USA

Hi

Kiran thanks for ur reply.
But i am not able to understand ur Reply, Can u give some more explaination for the above topic.

raj
Back to top
View user's profile Send private message
kirani
PostPosted: Sun Jan 12, 2003 11:41 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Raj,

If i understand your question correctly, you want to replace your Java program with WMQI message flow, which will parse published XML message, correct?

As mentioned in my earlier post, you don't need any plug-in node in WMQI to call external XML parser. You can design your message flow to read input XML messages from published queue and then parse the message using XML parser. Now you can use ESQL to manipulate this input message.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
rajmq
PostPosted: Sun Jan 12, 2003 10:11 pm    Post subject: Reply with quote

Partisan

Joined: 29 Sep 2002
Posts: 331
Location: USA

Hi

As per ur suggestion there is no need to use separate pluginNode for Parsering the message.

But ur post
"You can design your message flow to read input XML messages from published queue and then parse the message using XML parser. Now you can use ESQL to manipulate this input message."

Here my doubt is once i got xml request message i am passing that message to other MQInputNode and i am setting message domain is XML,After that How can i parse that XML?,I am new to this Wmqi, So pl explain little bit more.

thanks
raj
Back to top
View user's profile Send private message
kirani
PostPosted: Mon Jan 13, 2003 4:50 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Hi Raj,

By setting Message Domain property of MQInput node to XML you are asking the broker to parse all your input messages using XML parser.

Once your input message is parsed using XML parser, an XML parsed tree is built into memory. It's upto you what to do with the parsed tree. Either you can manipulate the message (transform into another format) by writing simple ESQL code or you can insert the parsed data into database tables.

I'd recommend that you read following Redbooks
SG246579 - Developing Solutions in WebSphere MQ Integrator
SG246509 - WebSphere MQ IntegratorDeployment and Migration
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » XMLParser PluginNode.
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.