THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Wiki Markup |
---|
{snippet:id=e1|lang=xml|url=camel/trunk/components/camel-test-blueprint/src/test/resources/org/apache/camel/test/blueprint/xpath/XPathHeaderNameTest.xml} |
And in Java DSL you specify the headerName as the 2nd parameter as shown:
Code Block |
---|
xpath("/invoice/@orderType = 'premium'", "invoiceDetails")
|
Examples
Here is a simple example using an XPath expression as a predicate in a Message Filter
...