Package org.apache.camel
Interface Suspendable
-
public interface SuspendableMarker interface to indicate a custom component has custom implementation for suspending theSuspendableServiceservice.
This is needed to let Camel know if there is special code happening during a suspension. TheServiceSupportimplementation that most Camel components / endpoints etc use as base class is aSuspendableServicebut 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