org.mule.api.retry
Interface RetryPolicyTemplate
- All Known Implementing Classes:
- AbstractPolicyTemplate, NoRetryPolicyTemplate
public interface RetryPolicyTemplate
A factory responsible for creating a retry policy. Custom policies should
Implement this factory and provide a private class which implements the
RetryPolicy
interface.
The factory is the object that actually gets configured then new
RetryPolicy
objects are created each time using the configuration
on the factory.
createRetryInstance
RetryPolicy createRetryInstance()
getNotifier
RetryNotifier getNotifier()
setNotifier
void setNotifier(RetryNotifier retryNotifier)
execute
RetryContext execute(RetryCallback callback)
throws FatalConnectException
- Throws:
FatalConnectException
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.