|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Passing String output message |
« View previous topic :: View next topic » |
Author |
Message
|
gobi_nathan |
Posted: Wed Nov 12, 2003 5:04 am Post subject: Passing String output message |
|
|
Acolyte
Joined: 08 Jan 2003 Posts: 69
|
Hi All,
I want pass the single string message to the MQOutput node. Can anyone tell me how to do that?
My message flow is very simple.
MQInputNode -> Compute Node -> MQOutputNode
In input node I am passing the XML message. Message domain set as XML.Inside compute node read the XML field value and assign it to some string value.
After reading the string message how should I pass the message to output node?
What message formats I have to use for passing the single string message?
Regards,
Gobi |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Nov 12, 2003 7:54 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
So, you want to extract the contents of a field from an XML document, and pass that entire field as the new message?
You'll need to put the field into a BLOB message before passing that to the MQOutput node.
Your flow should look like: MQInput--> Compute--> ResetContentDescriptor--> MQOutput
In your compute node, assign OutputRoot.BLOB.BLOB to be the contents of the field you want, and set the properties on the RCD node to convert to a BLOB message. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
kirani |
Posted: Wed Nov 12, 2003 1:58 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
I don't think RCD node is required here. _________________ 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 |
|
 |
jefflowrey |
Posted: Wed Nov 12, 2003 2:05 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
No, it's not required.
But it makes the flow a little easier to understand for a new user. _________________ I am *not* the model of the modern major general. |
|
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
|
|
|
|