org.mule.api.retry
Interface RetryPolicyTemplate
- All Known Implementing Classes:
- AbstractPolicyTemplate, NoRetryPolicyTemplate
public interface RetryPolicyTemplate
A RetryPolicyTemplate creates a new RetryPolicy
instance each time the retry goes into effect,
thereby resetting any state the policy may have (counters, etc.)
A RetryNotifier
may be set in order to take action upon each retry attempt.
createRetryInstance
RetryPolicy createRetryInstance()
getMetaInfo
Map getMetaInfo()
setMetaInfo
void setMetaInfo(Map metaInfo)
getNotifier
RetryNotifier getNotifier()
setNotifier
void setNotifier(RetryNotifier retryNotifier)
execute
RetryContext execute(RetryCallback callback,
WorkManager workManager)
throws Exception
- Throws:
Exception
Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.