Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.17 KB

README.adoc

File metadata and controls

38 lines (25 loc) · 1.17 KB

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!