|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SynchronizationRouteAware
An extended Synchronization which is route aware.
| Method Summary | |
|---|---|
void |
onAfterRoute(Route route,
Exchange exchange)
Invoked after the Exchange has been routed by the given route. |
void |
onBeforeRoute(Route route,
Exchange exchange)
Invoked before the Exchange is being routed by the given route. |
| Methods inherited from interface org.apache.camel.spi.Synchronization |
|---|
onComplete, onFailure |
| Method Detail |
|---|
void onBeforeRoute(Route route,
Exchange exchange)
Exchange is being routed by the given route.
Notice if the exchange is being routed through multiple routes, there will be callbacks for each route.
Important: this callback may not invoked if the SynchronizationRouteAware implementation
is being added to the UnitOfWork after the routing has started.
route - the routeexchange - the exchange
void onAfterRoute(Route route,
Exchange exchange)
Exchange has been routed by the given route.
Notice if the exchange is being routed through multiple routes, there will be callbacks for each route.
This invocation happens before these callbacks:
Synchronization.onComplete(org.apache.camel.Exchange) or Synchronization.onFailure(org.apache.camel.Exchange)Consumer prepares and writes
any data back to the caller (if in InOut mode).
route - the routeexchange - the exchange
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||