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 » Compute Node.

Post new topic  Reply to topic
 Compute Node. « View previous topic :: View next topic » 
Author Message
venky
PostPosted: Thu Sep 18, 2003 5:55 am    Post subject: Compute Node. Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Thu Sep 18, 2003 7:34 am    Post subject: Reply with quote

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
View user's profile Send private message
EddieA
PostPosted: Thu Sep 18, 2003 8:00 am    Post subject: Reply with quote

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
View user's profile Send private message
venky
PostPosted: Thu Sep 18, 2003 11:09 am    Post subject: Reply with quote

Master

Joined: 08 Jul 2003
Posts: 205

Thanks Guys,

Venky.
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 » Compute Node.
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.