org.mule.api.retry
Interface RetryCallback
public interface RetryCallback
This is the main Retry SPI. The code inside the doWork(org.mule.api.retry.RetryContext)
method is what will actually get retried
according to the RetryPolicy
that has been configured. Note that retries can be wrapped in a transaction
to ensure the work is atomic.
doWork
void doWork(RetryContext context)
throws Exception
- Throws:
Exception
getWorkDescription
String getWorkDescription()
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.