Package | Description |
---|---|
org.axonframework.commandhandling.gateway | |
org.axonframework.spring.commandhandling.gateway |
Modifier and Type | Class and Description |
---|---|
class |
IntervalRetryScheduler
RetryScheduler implementation that retries commands at regular intervals when they fail because of an exception that
is not explicitly non-transient.
|
Constructor and Description |
---|
AbstractCommandGateway(CommandBus commandBus,
RetryScheduler retryScheduler,
List<MessageDispatchInterceptor<? super CommandMessage<?>>> messageDispatchInterceptors)
Initialize the AbstractCommandGateway with given
commandBus , retryScheduler and
commandDispatchInterceptors . |
CommandGatewayFactory(CommandBus commandBus,
RetryScheduler retryScheduler,
List<MessageDispatchInterceptor<CommandMessage<?>>> messageDispatchInterceptors)
Initialize the factory sending Commands to the given
commandBus , optionally intercepting them with
given dispatchInterceptors . |
CommandGatewayFactory(CommandBus commandBus,
RetryScheduler retryScheduler,
MessageDispatchInterceptor<CommandMessage<?>>... messageDispatchInterceptors)
Initialize the factory sending Commands to the given
commandBus , optionally intercepting them with
given dispatchInterceptors . |
DefaultCommandGateway(CommandBus commandBus,
RetryScheduler retryScheduler,
List<MessageDispatchInterceptor<? super CommandMessage<?>>> messageDispatchInterceptors)
Initializes a command gateway that dispatches commands to the given
commandBus after they have been
handles by the given commandDispatchInterceptors . |
DefaultCommandGateway(CommandBus commandBus,
RetryScheduler retryScheduler,
MessageDispatchInterceptor<? super CommandMessage<?>>... messageDispatchInterceptors)
Initializes a command gateway that dispatches commands to the given
commandBus after they have been
handles by the given commandDispatchInterceptors . |
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 . |
Modifier and Type | Method and Description |
---|---|
void |
CommandGatewayFactoryBean.setRetryScheduler(RetryScheduler retryScheduler)
Sets the RetryScheduler that will be invoked when a command fails execution.
|
Copyright © 2010–2017. All rights reserved.