You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/07/20 09:36:52 UTC
[jira] Resolved: (CAMEL-2967) XPathBuilder - Add support for
functions to leverage properties and simple
[ https://issues.apache.org/activemq/browse/CAMEL-2967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-2967.
--------------------------------
Resolution: Fixed
trunk: 965744.
> XPathBuilder - Add support for functions to leverage properties and simple
> --------------------------------------------------------------------------
>
> Key: CAMEL-2967
> URL: https://issues.apache.org/activemq/browse/CAMEL-2967
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-core
> Affects Versions: 2.4.0
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 2.5.0
>
>
> See CAMEL-2759 for background
> Add a {{function}} prefix to the xpath so you can do something like this
> {code}
> from("direct:in").choice()
> .when().xpath("$type = function:properties('foo')")
> .to("mock:camel")
> .when().xpath("//name = function:simple('${properties:bar}')")
> .to("mock:donkey")
> .otherwise()
> .to("mock:other")
> .end();
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.