Interface ConnectionListener

    • Method Detail

      • onCreate

        void onCreate​(Connection connection)
        Called when a new connection is established.
        Parameters:
        connection - the connection.
      • onShutDown

        default void onShutDown​(com.rabbitmq.client.ShutdownSignalException signal)
        Called when a connection is force closed.
        Parameters:
        signal - the shut down signal.
        Since:
        2.0
      • onFailed

        default void onFailed​(Exception exception)
        Called when a connection couldn't be established.
        Parameters:
        exception - the exception thrown.
        Since:
        2.2.17