Class ExponentialBackOffIntervalRetryScheduler.Builder

java.lang.Object
org.axonframework.commandhandling.gateway.AbstractRetryScheduler.Builder<ExponentialBackOffIntervalRetryScheduler.Builder>
org.axonframework.commandhandling.gateway.ExponentialBackOffIntervalRetryScheduler.Builder
Enclosing class:
ExponentialBackOffIntervalRetryScheduler

public static class ExponentialBackOffIntervalRetryScheduler.Builder extends AbstractRetryScheduler.Builder<ExponentialBackOffIntervalRetryScheduler.Builder>
Builder class to instantiate an ExponentialBackOffIntervalRetryScheduler.

The default for maxRetryCount is set to a single retry, the backoffFactor defaults to 100ms and the nonTransientFailurePredicate defaults to AxonNonTransientExceptionClassesPredicate. The ScheduledExecutorService is a hard requirement and as such should be provided.