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.
Gary Russell
  • Method Summary

    Modifier and Type Method Description
    default boolean isPaused()
    Check if the endpoint is paused.
    void pause()
    Pause the endpoint.
    void resume()
    Resume the endpoint if paused.

    Methods inherited from interface

    isRunning, start, stop