Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Won't Fix
-
2.6.0
-
None
Description
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
.when().xpath(simple("/foo:${header.variable}")).to("mock:y")
Attachments
Attachments
Issue Links
- is related to
-
CAMEL-4519 XPath splitter with properties function doesnt work
- Resolved