A complete example
We have a bundle with the following route using the Blueprint DSL:
<?xml version="1.0" encoding="UTF-8"?> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"> <camelContext xmlns="http://camel.apache.org/schema/blueprint"> <route id="test"> <from uri="direct:input"/> <onException> <exception>java.lang.Exception</exception> <redeliveryPolicy maximumRedeliveries="2"/> <handled> <constant>true</constant> </handled> <to uri="direct:error"/> </onException> <choice> <when> <xpath>//country='France'</xpath> <to uri="direct:france"/> </when> <when> ...