Posted: Thu Aug 04, 2011 5:37 am Post subject: MQHeader Node usage
Shaman
Joined: 08 Feb 2009 Posts: 709 Location: Chennai, India
Hi,
I have a flow wherin I need to modify few MQMD values and not all. What is the best way to do this? Can I do this using the ESQL code or use a MQHeader Node?
Is there any performance issue on adding an extra node to my flow instead of doing in ESQL?
Normally, is there any performance issue if I add a node instead of doing in ESQL? Like MQHeader node or the RCD node?
Posted: Thu Aug 04, 2011 5:53 am Post subject: Re: MQHeader Node usage
Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
kash3338 wrote:
What is the best way to do this? Can I do this using the ESQL code or use a MQHeader Node?
If it's just the MQMD, with no requirement for a Compute node before or after, then a MQHeader node seems the choice. If there is a Compute node someplace I'd put the code in there rather than add a logically unnecessary node. There's a fair amount of personal preference in that view though.
kash3338 wrote:
Is there any performance issue on adding an extra node to my flow instead of doing in ESQL?
IMHO I don't see the MQHeader node having a lot of overhead.
kash3338 wrote:
Normally, is there any performance issue if I add a node instead of doing in ESQL? Like MQHeader node or the RCD node?
Depends entirely on the situation and what the node is doing. The RCD node can have a very small footprint. Or it can cause WMB to completely reparse the message tree. Likewise a badly written Compute node can be outperformed by a MQH or RCD.
You can't generalise into "extra nodes bad" or "extra nodes good". _________________ Honesty is the best policy.
Insanity is the best defence.
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