Module org.mule.sdk.api
Interface ReconnectionCallback
Callback used to notify the runtime about the outcome of a reconnection attempt.
- Since:
- 1.0
-
Method Summary
-
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 givenexception- Parameters:
exception- theConnectionExceptionfor which the reconnection failed
-