public interface Reconnectable
The runtime might still try to perform reconnection on components which does not implement this interface, only that the
runtime will decide the logic to apply. For components which do implement this interface, the runtime will call the
reconnect(ConnectionException, ReconnectionCallback) method and wait for this component to notify the result
through the ReconnectionCallback
| Modifier and Type | Method and Description |
|---|---|
void |
reconnect(org.mule.runtime.api.connection.ConnectionException exception,
ReconnectionCallback reconnectionCallback)
Performs custom reconnection logic.
|
void reconnect(org.mule.runtime.api.connection.ConnectionException exception,
ReconnectionCallback reconnectionCallback)
reconnectionCallback.
This method is to implement ONE reconnection attempt. This method is not to have any retry strategies. The runtime will automatically perform retries when and how it applies.
exception - the connectivity error that triggered the reconnectionreconnectionCallback - the callback used to notify the reconnection resultCopyright © 2020 MuleSoft, Inc.. All rights reserved.