Interface Suspendable


  • public interface Suspendable
    Marker interface to indicate a custom component has custom implementation for suspending the SuspendableService service.
    This is needed to let Camel know if there is special code happening during a suspension.

    The ServiceSupport implementation that most Camel components / endpoints etc use as base class is a SuspendableService 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