Hi, Since you are using spring DSL, Instead of copying the routes into test/resources you can directly point the actual routes located in src/main/resources in your test class and to replace the actual endpoints with the mock end point you can use property place holder pointed to separate properties file.
Multiple xml files query: You can put all your routes into single xml and load that file into your test class. Extend your test class with CamelSpringTestSupport, this class provides a method to load your single xml file(http://camel.apache.org/spring-testing.html) Hope this helps to you. -- View this message in context: http://camel.465427.n5.nabble.com/Unit-testing-each-route-in-a-large-camel-context-tp5749750p5749757.html Sent from the Camel - Users mailing list archive at Nabble.com.