You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2012/06/08 13:21:23 UTC

[jira] [Assigned] (CAMEL-3697) XPath expression should accept an expression to more easily allow dynamic XPath text to be defined in the DSL

     [ https://issues.apache.org/jira/browse/CAMEL-3697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen reassigned CAMEL-3697:
----------------------------------

    Assignee:     (was: Claus Ibsen)
    
> XPath expression should accept an expression to more easily allow dynamic XPath text to be defined in the DSL
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3697
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3697
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.6.0
>            Reporter: Claus Ibsen
>            Priority: Minor
>             Fix For: 3.0.0, Future
>
>         Attachments: CAMEL-3697.txt
>
>
> See 
> http://stackoverflow.com/questions/5067634/xpath-from-string
> In the ExpressionClause the xpath builder is only accepting a String as they XPath text. We should provide a method which accepts a Camel Expression as well.
> So you can do
> {code}
>   .when().xpath(simple("/foo:${header.variable}")).to("mock:y")
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira