Package | Description |
---|---|
org.axonframework.commandhandling.gateway |
Modifier and Type | Class and Description |
---|---|
class |
AbstractRetryScheduler
An abstract base class for
RetryScheduler s. |
class |
ExponentialBackOffIntervalRetryScheduler
A RetryScheduler that uses a backoff strategy, retrying commands at increasing intervals when they fail because of
an exception that is not explicitly non-transient.
|
class |
IntervalRetryScheduler
RetryScheduler implementation that retries commands at regular intervals when they fail because of an exception that
is not explicitly non-transient.
|
Modifier and Type | Method and Description |
---|---|
DefaultCommandGateway.Builder |
DefaultCommandGateway.Builder.retryScheduler(RetryScheduler retryScheduler) |
CommandGatewayFactory.Builder |
CommandGatewayFactory.Builder.retryScheduler(RetryScheduler retryScheduler)
Sets the
RetryScheduler which will decide whether to reschedule commands. |
AbstractCommandGateway.Builder |
AbstractCommandGateway.Builder.retryScheduler(RetryScheduler retryScheduler)
Sets the
RetryScheduler capable of performing retries of failed commands. |
Constructor and Description |
---|
RetryingCallback(CommandCallback<C,R> delegate,
RetryScheduler retryScheduler,
CommandBus commandBus)
Initialize the RetryingCallback with the given
delegate , representing the actual callback passed as
a parameter to dispatch, the given commandMessage , retryScheduler and
commandBus . |
Copyright © 2010–2020. All rights reserved.