public class SynchronizationAdapter extends Object implements org.apache.camel.spi.SynchronizationVetoable, org.apache.camel.Ordered, org.apache.camel.spi.SynchronizationRouteAware
Synchronization adapter with empty methods for easier overriding of single methods.| Constructor and Description |
|---|
SynchronizationAdapter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowHandover() |
int |
getOrder() |
void |
onAfterRoute(org.apache.camel.Route route,
org.apache.camel.Exchange exchange) |
void |
onBeforeRoute(org.apache.camel.Route route,
org.apache.camel.Exchange exchange) |
void |
onComplete(org.apache.camel.Exchange exchange) |
void |
onDone(org.apache.camel.Exchange exchange) |
void |
onFailure(org.apache.camel.Exchange exchange) |
public void onComplete(org.apache.camel.Exchange exchange)
onComplete in interface org.apache.camel.spi.Synchronizationpublic void onFailure(org.apache.camel.Exchange exchange)
onFailure in interface org.apache.camel.spi.Synchronizationpublic void onDone(org.apache.camel.Exchange exchange)
public boolean allowHandover()
allowHandover in interface org.apache.camel.spi.SynchronizationVetoablepublic int getOrder()
getOrder in interface org.apache.camel.Orderedpublic void onBeforeRoute(org.apache.camel.Route route,
org.apache.camel.Exchange exchange)
onBeforeRoute in interface org.apache.camel.spi.SynchronizationRouteAwarepublic void onAfterRoute(org.apache.camel.Route route,
org.apache.camel.Exchange exchange)
onAfterRoute in interface org.apache.camel.spi.SynchronizationRouteAwareApache Camel