camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <>
Subject [jira] [Commented] (CAMEL-5550) Add headerName option to xpath/xpath language
Date Mon, 03 Sep 2012 03:09:09 GMT


Willem Jiang commented on CAMEL-5550:


I'm very Sorry about it.
I didn't update my eclipse workspace to pick up the grading change of saxon, so I revert the
change you made before as my eclipse suggested and will reapply your change shortly today.
> Add headerName option to xpath/xpath language
> ---------------------------------------------
>                 Key: CAMEL-5550
>                 URL:
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.11.0
>         Attachments: CAMEL-5550.patch
> We recently added headerName to @XPath / @XQuery to support doing xpaths on headers.
We should add that as well to the xpath/xquery languages so its exposed in the DSL, so people
can use that.
> For example in a content based router. Today there is some functions that return a header,
but its a bit cumbersome to use. Maybe people have stored a xml in a header, and just want
the xpath to evaluate on that.
> The Java / Scala DSL is a bit heavier to add, as it would entail new methods in various
builder classes to support that. And we got a bunch already for the namespaces, and return
type etc. So be selective and only add a few for the header which makes the most sense. People
can always create the expression/predicate using the xpath builder itself.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message