Details
Description
This is verbose and not recommanded, ppl should just use <camelContext> as is
eg remove <camel:xxx"> in the archetypes
eg
<camel:camelContext xmlns="http://camel.apache.org/schema/spring"> <!-- here is a sample which processes the input files (leaving them in place - see the 'noop' flag) then performs content based routing on the message using XPath --> <camel:route> <camel:from uri="file:src/data?noop=true"/> <camel:choice> <camel:when> <camel:xpath>/person/city = 'London'</camel:xpath> <camel:log message="UK message"/> <camel:to uri="file:target/messages/uk"/> </camel:when> <camel:otherwise> <camel:log message="Other message"/> <camel:to uri="file:target/messages/others"/> </camel:otherwise> </camel:choice> </camel:route> </camel:camelContext>