|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SynchronizationVetoable
A vetoable Synchronization
.
Synchronization
they are normally executed
when the Exchange
complete at the end. If the Exchange
is processed asynchronously the Synchronization
will be handed
over to the next thread. This ensures for example the file consumer will delete the processed file at the very
end, when the Exchange
has been completed successfully.
However there may be situations where you do not want to handover certain Synchronization
,
such as when doing asynchronously request/reply over SEDA or VM endpoints.
Method Summary | |
---|---|
boolean |
allowHandover()
Whether or not handover this synchronization is allowed. |
Methods inherited from interface org.apache.camel.spi.Synchronization |
---|
onComplete, onFailure |
Method Detail |
---|
boolean allowHandover()
Exchange
is being routed
from one thread to another thread, such as using request/reply over SEDA
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |