org.mule.api.retry
Interface RetryPolicyTemplate
- All Known Implementing Classes:
- AbstractPolicyTemplate, AsynchronousRetryTemplate, NoRetryPolicyTemplate, RetryForeverPolicyTemplate, SimpleRetryPolicyTemplate
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<Object,Object> getMetaInfo()
setMetaInfo
void setMetaInfo(Map<Object,Object> metaInfo)
getNotifier
RetryNotifier getNotifier()
setNotifier
void setNotifier(RetryNotifier retryNotifier)
execute
RetryContext execute(RetryCallback callback,
WorkManager workManager)
throws Exception
- Throws:
Exception
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.