Interface Pausable
- All Superinterfaces:
Lifecycle
,ManageableLifecycle
- All Known Implementing Classes:
KafkaInboundGateway
,KafkaMessageDrivenChannelAdapter
,KafkaMessageSource
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
Methods inherited from interface org.springframework.integration.support.management.ManageableLifecycle
isRunning, start, stop
-
Method Details
-
pause
Pause the endpoint. -
resume
Resume the endpoint if paused. -
isPaused
Check if the endpoint is paused.- Returns:
- true if paused.
- Since:
- 5.4
-