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 asciidoc in the repository: https://github.com/apache/camel/blob/master/README.md https://github.com/apache/camel/blob/master/components/readme.adoc
The Detour from the EIP patterns allows you to send messages through additional steps if a control condition is met. It can be useful for turning on extra validation, testing, debugging code when needed.
In this example we essentially have a route like
Error formatting macro: snippet: java.lang.IndexOutOfBoundsException: Index: 20, Size: 20
Using the Spring XML Extensions
whether the detour is turned on or off is decided by the
For full details, check the example source here: