|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Compute Node. |
« View previous topic :: View next topic » |
Author |
Message
|
venky |
Posted: Thu Sep 18, 2003 5:55 am Post subject: Compute Node. |
|
|
 Master
Joined: 08 Jul 2003 Posts: 205
|
Hi all,
This is a question about the compute node,
in the ESQL tab of the compute node, we have 2 options, copy message header and copy entire message, whats the difference with reference to ESQL coding.
pls help.
Thanks,
Venky. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Sep 18, 2003 7:34 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Did you look at the difference pre-generated ESQL above the --line when you switch between copy entire message and copy message headers?
All this button does is write some code for you, either to populate the OutputRoot with the entire input message, or to populate it with everything exept the InputBody.
The difference options are because sometimes you want to do different things. Sometimes you want to create a new Output message based on the contents of the Input message, and sometimes you want to add or change the Output message, or do something unrelated to transforming the message inside this compute node, like making a database call.
If you want to create a whole new message, like transforming from one message type to another, you don't want to copy the entire message into your Output before you start doing things. You just want the headers. |
|
Back to top |
|
 |
EddieA |
Posted: Thu Sep 18, 2003 8:00 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Quote: |
or to populate it with everything exept the InputBody |
Except InputBody might not be what you expect. Input Body is actually an alias for InputRoot.*[LAST]. This means it populates the output with everything except the LAST tree of the Input. If your node receives a message tree with no data, then 'Copy Headers' loses the MQMD (or the last MQ header it found).
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
venky |
Posted: Thu Sep 18, 2003 11:09 am Post subject: |
|
|
 Master
Joined: 08 Jul 2003 Posts: 205
|
|
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
|
|
|
|