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.SynchronizationVetoable
public class SynchronizationAdapter
extends Object
implements org.apache.camel.spi.SynchronizationVetoable, org.apache.camel.Ordered, org.apache.camel.spi.Synchronization
Simple
Synchronization
adapter with empty methods for easier overriding of single methods.-
Field Summary
Fields inherited from interface org.apache.camel.Ordered
HIGHEST, LOWEST
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
beforeHandover
(org.apache.camel.Exchange target) int
getOrder()
void
onComplete
(org.apache.camel.Exchange exchange) void
onDone
(org.apache.camel.Exchange exchange) void
onFailure
(org.apache.camel.Exchange exchange) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.camel.spi.Synchronization
getRouteSynchronization
-
Constructor Details
-
SynchronizationAdapter
public SynchronizationAdapter()
-
-
Method Details
-
onComplete
public void onComplete(org.apache.camel.Exchange exchange) - Specified by:
onComplete
in interfaceorg.apache.camel.spi.Synchronization
-
onFailure
public void onFailure(org.apache.camel.Exchange exchange) - Specified by:
onFailure
in interfaceorg.apache.camel.spi.Synchronization
-
onDone
public void onDone(org.apache.camel.Exchange exchange) -
allowHandover
public boolean allowHandover()- Specified by:
allowHandover
in interfaceorg.apache.camel.spi.SynchronizationVetoable
-
getOrder
public int getOrder()- Specified by:
getOrder
in interfaceorg.apache.camel.Ordered
-
beforeHandover
public void beforeHandover(org.apache.camel.Exchange target) - Specified by:
beforeHandover
in interfaceorg.apache.camel.spi.SynchronizationVetoable
-