Interface ReconnectionCallback


@NoImplement @MinMuleVersion("4.5.0") public interface ReconnectionCallback
Callback used to notify the runtime about the outcome of a reconnection attempt.
Since:
1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    failed(org.mule.runtime.api.connection.ConnectionException exception)
    Notifies the runtime that the reconnection attempt failed because of the given exception
    void
    Notifies the runtime that the connection was successfully reestablished
  • Method Details

    • success

      void success()
      Notifies the runtime that the connection was successfully reestablished
    • failed

      void failed(org.mule.runtime.api.connection.ConnectionException exception)
      Notifies the runtime that the reconnection attempt failed because of the given exception
      Parameters:
      exception - the ConnectionException for which the reconnection failed