Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 1.09 KB

File metadata and controls

31 lines (18 loc) · 1.09 KB

Camel Example Spring Boot Route 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.

How to run

You can run this example using

mvn spring-boot: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!