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 » are header nodes smart enough?

Post new topic  Reply to topic
 are header nodes smart enough? « View previous topic :: View next topic » 
Author Message
Esa
PostPosted: Tue Jan 10, 2012 12:55 am    Post subject: are header nodes smart enough? Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

Don't code what you can configure - a good design priciple which is more and more supported by Message Broker. Or actually it's what the whole product is about.

But do header nodes like MQHeader always force a (more or less deep) copy of the input root? Or are they smart enough to modify the header in situ when the input body parser can confirm the message to be fully parsed? (Modifying a header within InputRoot when the body has not been fully parsed may cause the modified header to be propagated to the input nodes catch terminal, which is not acceptable. Propagating a modified header to a TryCatch nodes catch terminal should be considered less inacceptable)

I haven't run any test on this, it's a bit difficult to figure out how to comfirm what is happening. So I decided to first try phishing up a somewhat authorized opinion by writing this hopefully discreetly irritating post.
Back to top
View user's profile Send private message
mgk
PostPosted: Tue Jan 10, 2012 2:54 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

Quote:
But do header nodes like MQHeader always force a (more or less deep) copy of the input root?


Yes, it is a deep copy
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
Esa
PostPosted: Wed Feb 01, 2012 7:27 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

Does it a deep copy when 'Carry forward header' option is selected, too?

As far as I know a header node with 'Carry forward header' option selected does not do anything. The option is there only to make it possible to disable/enable the node by a LocalEnvironment overide?
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 » are header nodes smart enough?
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.