org.mule.api.retry
Interface RetryNotifier

All Known Implementing Classes:
ConnectNotifier

public interface RetryNotifier

This interface is a callback that allows actions to be performed after each retry attempt, such as firing notifications, logging, etc.


Method Summary
 void onFailure(RetryContext context, Throwable e)
          Called each time a retry attempt fails.
 void onSuccess(RetryContext context)
          Called when a retry attempt finally suceeds.
 

Method Detail

onFailure

void onFailure(RetryContext context,
               Throwable e)
Called each time a retry attempt fails.


onSuccess

void onSuccess(RetryContext context)
Called when a retry attempt finally suceeds.



Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.