public class WorkflowRetryAndFail extends WorkflowRetryAndContinue
This implementation allows you to retry the init and start for a given workflow a configurable number of times. Each workflow is attempted in sequence, and the failing workflow is retried until either it is successful or the max number of retry attempts has been reached. If the workflow has still failed at this point, an exception is thrown back to the parent channel.
In the adapter configuration file this class is aliased as workflow-retry-and-fail which is the preferred alternative to the fully qualified classname when building your configuration.
log
Constructor and Description |
---|
WorkflowRetryAndFail() |
WorkflowRetryAndFail(java.lang.Integer max,
TimeInterval interval) |
getMaxRetries, getWaitBetweenRetries, init, setMaxRetries, setWaitBetweenRetries, start
close, closeConsumers, stop, stopConsumers
public WorkflowRetryAndFail()
public WorkflowRetryAndFail(java.lang.Integer max, TimeInterval interval)