Interface JmsReconnectionManager
- All Known Implementing Classes:
DefaultReconnectionManagerProvider
public interface JmsReconnectionManager
The JmsReconnectionManager is responsible for managing and orchestrating the different steps in the reconnection process. It
provides information regarding the operations that are being performed and whether certain operations are available.
- Since:
- 1.8.0
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether operations can be performed.voidBlocks operations.voidInforms the manager that a reconnection is finished.booleanIndicates that a reconnection is ongoing.voidInforms the manager that a reconnection is ongoing.voidUnblocks operations.
-
Method Details
-
blockedOperations
boolean blockedOperations()Indicates whether operations can be performed.- Returns:
- whether the reconnection can be performed.
-
blockOperations
void blockOperations()Blocks operations. After unblocking the manager will indicate that the reconnection cannot be performed. -
unblockOperations
void unblockOperations()Unblocks operations. After unblocking the manager will indicate that the reconnection can be performed. -
isReconnecting
boolean isReconnecting()Indicates that a reconnection is ongoing.- Returns:
- whether a reconnection is ongoing.
-
reconnecting
void reconnecting()Informs the manager that a reconnection is ongoing. -
finishReconnecting
void finishReconnecting()Informs the manager that a reconnection is finished.
-