Package org.apache.camel
Interface Suspendable
-
public interface Suspendable
Marker interface to indicate a custom component has custom implementation for suspending theSuspendableService
service.
This is needed to let Camel know if there is special code happening during a suspension. TheServiceSupport
implementation that most Camel components / endpoints etc use as base class is aSuspendableService
but the actual implementation may not have special logic for suspend. Therefore this marker interface is introduced to indicate when the implementation has special code for suspension. It is assumed that a service having a custom logic for suspension implements also a custom logic for resuming.- See Also:
SuspendableService