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.Synchronization
public void onFailure(org.apache.camel.Exchange exchange)
onFailure
in interface org.apache.camel.spi.Synchronization
public void onDone(org.apache.camel.Exchange exchange)
public boolean allowHandover()
allowHandover
in interface org.apache.camel.spi.SynchronizationVetoable
public int getOrder()
getOrder
in interface org.apache.camel.Ordered
public void onBeforeRoute(org.apache.camel.Route route, org.apache.camel.Exchange exchange)
onBeforeRoute
in interface org.apache.camel.spi.SynchronizationRouteAware
public void onAfterRoute(org.apache.camel.Route route, org.apache.camel.Exchange exchange)
onAfterRoute
in interface org.apache.camel.spi.SynchronizationRouteAware
Apache Camel