public class ConnectNotifier extends Object implements RetryNotifier
ConnectionNotification each time a retry attempt is made.| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
ConnectNotifier() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
fireConnectNotification(int action,
String description,
RetryContext context) |
void |
onFailure(RetryContext context,
Throwable e)
Called each time a retry attempt fails.
|
void |
onSuccess(RetryContext context)
Called when a retry attempt finally suceeds.
|
public void onSuccess(RetryContext context)
RetryNotifieronSuccess in interface RetryNotifierpublic void onFailure(RetryContext context, Throwable e)
RetryNotifieronFailure in interface RetryNotifierprotected void fireConnectNotification(int action,
String description,
RetryContext context)
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.