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 » Header Node: Mixing MQ constant and XPATH

Post new topic  Reply to topic
 Header Node: Mixing MQ constant and XPATH « View previous topic :: View next topic » 
Author Message
Seb
PostPosted: Fri Mar 27, 2009 6:22 am    Post subject: Header Node: Mixing MQ constant and XPATH Reply with quote

Apprentice

Joined: 27 Mar 2009
Posts: 41

Hi,

I have an issue regarding the Header Nodes and the cominbed use of XPath and MQMD constants. I want to set the MQMD Expiry to the value of $Environment/Variables/ConfigRecords/LOG_EXPIRY or to MQEI_UNLIMITED if the XPath evaluates to NULL. So the question is, how would I realise this, as for example with the COALESCE function in ESQL?

Thanks in advance!
Back to top
View user's profile Send private message Send e-mail
rekarm01
PostPosted: Sun Mar 29, 2009 4:36 pm    Post subject: Re: Header Node: Mixing MQ constant and XPATH Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 1415

ESQL doesn't support XPath; however, it does provide much of the same functionality with the SELECT and THE functions.
Back to top
View user's profile Send private message
Seb
PostPosted: Mon Mar 30, 2009 1:57 am    Post subject: Reply with quote

Apprentice

Joined: 27 Mar 2009
Posts: 41

Hi rekarm01,

my question was not if I can use XPath with ESQL, but rather if I can combine XPath and MQ constants in the properties fields of the MQ Header Node.

I have several SubFlows where one SF retrieves flow configuration data from a database. The other SFs are then controlled with these parameters. In my Logging SF, I use a MQ Header Node to adapt the log message before it is written. The rule is, if there is a LOG_EXPIRY set in the Environment than take it, otherwise put the message with UNLIMITED.

If I set this rule in the Compute Node of the Config SF, it would apply to all other subflows. My other option would be in the Logging SF to take the parameter from the environment, if it is available or set it to UNLIMITED or sth. else if not. That would result in a bit more flexibility. Now, can I do this in the Header Node or do I have to use the COALESCE function within a Compute Node?

Thanks again!
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Header Node: Mixing MQ constant and XPATH
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.