access message exchange properties in e.g. content-based routing XPath 
expressions of servicemix-eip
----------------------------------------------------------------------------------------------------

         Key: SM-413
         URL: https://issues.apache.org/activemq/browse/SM-413
     Project: ServiceMix
        Type: Improvement

  Components: servicemix-eip  
    Versions: 3.0    
    Reporter: Peter Klotz
     Fix For: 3.0



in the routing patterns of servicemix-eip e.g. the content-based router, it
seems that one cannot access ME properties only the ME content.
It would be a nice feature if one could e.g. set a property in a transformer
component and make use of it in routing so that one has a bit of context
information available in the patterns, not only the content. In the
content-based router one could e.g. access properties by $name_of_property in
the XPath expressions.

There are two ways to implement that:
  * create a custom predicate that can check a property on the
exchange (with a regular expression maybe)
  * create an xpath function, configure it on the XPathPredicate and write
      a xpath expression using it

The first one is easier of course and it could be combined with an
xpath expression by implementing boolean predicates (or, and, xor,
not...)



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to