Uses of Interface
org.axonframework.messaging.core.retry.RetryPolicy.Outcome
Packages that use RetryPolicy.Outcome
-
Uses of RetryPolicy.Outcome in org.axonframework.messaging.core.retry
Methods in org.axonframework.messaging.core.retry that return RetryPolicy.OutcomeModifier and TypeMethodDescriptionExponentialBackOffRetryPolicy.defineFor(Message message, Throwable failure, List<Class<? extends Throwable>[]> previousFailures) FilteringRetryPolicy.defineFor(Message message, Throwable cause, List<Class<? extends Throwable>[]> previousFailures) MaxAttemptsPolicy.defineFor(Message message, Throwable cause, List<Class<? extends Throwable>[]> previousFailures) RetryPolicy.defineFor(Message message, Throwable failure, List<Class<? extends Throwable>[]> previousFailures) Provides the outcome for the policy given the failedmessagethat was dispatched and resulted in givenfailure.static RetryPolicy.OutcomeRetryPolicy.Outcome.doNotReschedule()Factory method to create an Outcome that requests the retry to not be rescheduled.static RetryPolicy.OutcomeRetryPolicy.Outcome.rescheduleIn(long interval, TimeUnit timeUnit) Factory method to create an Outcome that requests the retry to be scheduled at the giveninterval(using giventimeUnit).