...
The intercept feature in Camel supports intercepting Exchanges while they are on route.
We have overhauled the Intercept in Camel 2.0 so the following information is based on Camel 2.0.
Camel supports three kinds of interceptors:
intercept
that intercepts each and every processing step while routing an Exchange in the route.interceptFrom
that intercepts incoming Exchange in the route.interceptSendToEndpoint
new in Camel 2.0 that intercepts when an Exchange is about to be sent to the given Endpoint.
...
Code Block | ||||
---|---|---|---|---|
| ||||
intercept("jms:queue:(gold|silver)").to("seda:handleFast"); |
Info | ||
---|---|---|
| ||
The |