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 Type
    Method
    Description
    boolean
    Indicates whether operations can be performed.
    void
    Blocks operations.
    void
    Informs the manager that a reconnection is finished.
    boolean
    Indicates that a reconnection is ongoing.
    void
    Informs the manager that a reconnection is ongoing.
    void
    Unblocks 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.