Package org.apache.camel.support
Class SynchronizationAdapter
- java.lang.Object
-
- org.apache.camel.support.SynchronizationAdapter
-
- All Implemented Interfaces:
org.apache.camel.Ordered,org.apache.camel.spi.Synchronization,org.apache.camel.spi.SynchronizationRouteAware,org.apache.camel.spi.SynchronizationVetoable
public class SynchronizationAdapter extends Object implements org.apache.camel.spi.SynchronizationVetoable, org.apache.camel.Ordered, org.apache.camel.spi.SynchronizationRouteAware
SimpleSynchronizationadapter with empty methods for easier overriding of single methods.
-
-
Constructor Summary
Constructors Constructor Description SynchronizationAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallowHandover()voidbeforeHandover(org.apache.camel.Exchange target)intgetOrder()voidonAfterRoute(org.apache.camel.Route route, org.apache.camel.Exchange exchange)voidonBeforeRoute(org.apache.camel.Route route, org.apache.camel.Exchange exchange)voidonComplete(org.apache.camel.Exchange exchange)voidonDone(org.apache.camel.Exchange exchange)voidonFailure(org.apache.camel.Exchange exchange)
-
-
-
Method Detail
-
onComplete
public void onComplete(org.apache.camel.Exchange exchange)
- Specified by:
onCompletein interfaceorg.apache.camel.spi.Synchronization
-
onFailure
public void onFailure(org.apache.camel.Exchange exchange)
- Specified by:
onFailurein interfaceorg.apache.camel.spi.Synchronization
-
onDone
public void onDone(org.apache.camel.Exchange exchange)
-
allowHandover
public boolean allowHandover()
- Specified by:
allowHandoverin interfaceorg.apache.camel.spi.SynchronizationVetoable
-
getOrder
public int getOrder()
- Specified by:
getOrderin interfaceorg.apache.camel.Ordered
-
onBeforeRoute
public void onBeforeRoute(org.apache.camel.Route route, org.apache.camel.Exchange exchange)- Specified by:
onBeforeRoutein interfaceorg.apache.camel.spi.SynchronizationRouteAware
-
onAfterRoute
public void onAfterRoute(org.apache.camel.Route route, org.apache.camel.Exchange exchange)- Specified by:
onAfterRoutein interfaceorg.apache.camel.spi.SynchronizationRouteAware
-
beforeHandover
public void beforeHandover(org.apache.camel.Exchange target)
- Specified by:
beforeHandoverin interfaceorg.apache.camel.spi.SynchronizationVetoable
-
-