THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
import static org.apache.camel.builder.xpath.XPathBuilder.*; ... from("queue:foo").filter(xpath("//foo")).to("queue:bar") |
Examples
Here is a simple example using an XPath expression as a predicate in a Message Filter
Wiki Markup |
---|
{snippet:id=example|lang=java|url=activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/process/XPathFilterTest.java} |