Hi all Quick question about moving from XML to javaconfig.
In the past I have used this: <camelContext id="camel" xmlns="http://camel.apache.org/schema/spring"> <contextScan /> </camelContext> I see the single route example using SingleRouteCamelConfiguration and I saw CamelConfiguration that comes in camel-spring-javaconfig. How do I do a contextScan? I looked through the camel factory bean that is used to do the work in the above XML, and got nervous about moving completely out of XML. It appears that the three lines of XML above does A LOT of config :) Any examples of @Configuration with multiple routes and contextScan, or should I stick with the XML? Thanks Chris