Class DefaultReconnectionManagerProvider
java.lang.Object
org.mule.jms.commons.api.connection.DefaultReconnectionManagerProvider
- All Implemented Interfaces:
JmsReconnectionManager
Default implementation of a reconnection manager. Nothing is taken account during reconnection.
- Since:
- 1.8.0
-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
DefaultReconnectionManagerProvider
public DefaultReconnectionManagerProvider()
-
-
Method Details
-
blockedOperations
public boolean blockedOperations()Description copied from interface:JmsReconnectionManagerIndicates whether operations can be performed.- Specified by:
blockedOperationsin interfaceJmsReconnectionManager- Returns:
- whether the reconnection can be performed.
-
blockOperations
public void blockOperations()Description copied from interface:JmsReconnectionManagerBlocks operations. After unblocking the manager will indicate that the reconnection cannot be performed.- Specified by:
blockOperationsin interfaceJmsReconnectionManager
-
unblockOperations
public void unblockOperations()Description copied from interface:JmsReconnectionManagerUnblocks operations. After unblocking the manager will indicate that the reconnection can be performed.- Specified by:
unblockOperationsin interfaceJmsReconnectionManager
-
isReconnecting
public boolean isReconnecting()Description copied from interface:JmsReconnectionManagerIndicates that a reconnection is ongoing.- Specified by:
isReconnectingin interfaceJmsReconnectionManager- Returns:
- whether a reconnection is ongoing.
-
reconnecting
public void reconnecting()Description copied from interface:JmsReconnectionManagerInforms the manager that a reconnection is ongoing.- Specified by:
reconnectingin interfaceJmsReconnectionManager
-
finishReconnecting
public void finishReconnecting()Description copied from interface:JmsReconnectionManagerInforms the manager that a reconnection is finished.- Specified by:
finishReconnectingin interfaceJmsReconnectionManager
-