DetourPage edited by Christian Mueller
Comment:
Removed the deprecated Camel 1.x documentations
Changes (1)
Full ContentDetourThe 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. ExampleIn this example we essentially have a route like from("direct:start").to("mock:result") with a conditional detour to the mock:detour endpoint in the middle of the route.. from("direct:start").choice() .when().method("controlBean", "isDetour").to("mock:detour").end() .to("mock:result");
Change Notification Preferences
View Online
|
View Changes
|
Add Comment
|
- [CONF] Apache Camel > Detour confluence
- [CONF] Apache Camel > Detour confluence