Since we're on a major migration process of this website, some component documents here are out of sync right now. In the meantime you may want to look at the early version of the new website
https://camel.apache.org/staging/
We would very much like to receive any feedback on the new site, please join the discussion on the Camel user mailing list.
Loading routes from XML filesAvailable as of Camel 2.6 This cookbook shows how to load and add routes from XML files into an existing CamelContext. When adding routes as shown on this page, the routes is isolated and cannot re-use any existing You can define Camel routes in XML files using the Error formatting macro: snippet: java.lang.IndexOutOfBoundsException: Index: 20, Size: 20
We can then load this route and add to the existing CamelContext using the following lines of code: Error formatting macro: snippet: java.lang.IndexOutOfBoundsException: Index: 20, Size: 20
If you are using older versions of Camel, you can do this as well but it requires a bit more work. See this commit log. |