Interface Pausable

All Superinterfaces:
Lifecycle, ManageableLifecycle
All Known Implementing Classes:
KafkaInboundGateway, KafkaMessageDrivenChannelAdapter, KafkaMessageSource

public interface Pausable extends ManageableLifecycle
Endpoints implementing this interface can be paused/resumed. A paused endpoint might still maintain a connection to an external system, but will not send or receive messages.
Since:
5.0.3
Author:
Gary Russell
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    Check if the endpoint is paused.
    void
    Pause the endpoint.
    void
    Resume the endpoint if paused.

    Methods inherited from interface org.springframework.integration.support.management.ManageableLifecycle

    isRunning, start, stop