blob: 0efba983716d7018ca652655ba9949ac66b2f198 [file] [log] [blame]
== Camel Example Routes Configuration
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.
=== Build
You will need to compile this example first:
$ mvn compile
=== How to run
You can run this example using
$ mvn camel:run
=== Help and contributions
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!