This example shows how Camel is capable of loading routes during startup using the new route loader system. The route loader has support for loading routes in XML, Java and YAML (other languages to be added).
In this example the focus is on how you can use global routes configuration with the DSL to separate error handling (and other cross routes functionality) from all your routes.
This example has one route in Java, XML and YAML. Each of those routes refer to a specific route configuration, which is also coded in the same language as the route. But this is not required, you can use Java to code your route configurations for advanced error handling, and then code your routes in other languages such as XML or YAML.
If you hit any problem using Camel or have some feedback, then please let us know.
We also love contributors, so get involved :-)
The Camel riders!