|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.impl.SynchronizationAdapter
public class SynchronizationAdapter
Simple Synchronization adapter with empty methods for easier overriding
of single methods.
| Constructor Summary | |
|---|---|
SynchronizationAdapter()
|
|
| Method Summary | |
|---|---|
boolean |
allowHandover()
Whether or not handover this synchronization is allowed. |
void |
onComplete(Exchange exchange)
Called when the processing of the message exchange is complete |
void |
onDone(Exchange exchange)
|
void |
onFailure(Exchange exchange)
Called when the processing of the message exchange has failed for some reason. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SynchronizationAdapter()
| Method Detail |
|---|
public void onComplete(Exchange exchange)
Synchronization
onComplete in interface Synchronizationexchange - the exchange being processedpublic void onFailure(Exchange exchange)
SynchronizationExchange.getException() and
there could be a fault message via Message.isFault()
onFailure in interface Synchronizationexchange - the exchange being processedpublic void onDone(Exchange exchange)
public boolean allowHandover()
SynchronizationVetoableExchange is being routed
from one thread to another thread, such as using toAsync etc.
allowHandover in interface SynchronizationVetoable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||