| Package | Description |
|---|---|
| org.axonframework.commandhandling |
Classes that implement the concept of command handling using explicit command objects.
|
| org.axonframework.commandhandling.distributed | |
| org.axonframework.commandhandling.gateway |
| Modifier and Type | Class and Description |
|---|---|
class |
AsynchronousCommandBus
Specialization of the SimpleCommandBus that processed Commands asynchronously from the calling thread.
|
class |
SimpleCommandBus
Implementation of the CommandBus that dispatches commands to the handlers subscribed to that specific command's name.
|
| Modifier and Type | Method and Description |
|---|---|
Registration |
AnnotationCommandHandlerAdapter.subscribe(CommandBus commandBus)
Subscribe this command handler to the given
commandBus. |
| Modifier and Type | Class and Description |
|---|---|
class |
DistributedCommandBus
Implementation of a
CommandBus that is aware of multiple instances of a CommandBus working together to spread
load. |
| Modifier and Type | Method and Description |
|---|---|
CommandBus |
DistributedCommandBus.localSegment()
Return the message bus of type
MessageBus which is regarded as the local segment for this implementation. |
| Modifier and Type | Method and Description |
|---|---|
default Optional<CommandBus> |
CommandBusConnector.localSegment()
Return an
Optional containing the CommandBus which is used by this CommandBusConnector to
dispatch local and incoming CommandMessages on. |
| Modifier and Type | Method and Description |
|---|---|
CommandBus |
AbstractCommandGateway.getCommandBus()
Returns the CommandBus used by this gateway.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractCommandGateway.Builder |
AbstractCommandGateway.Builder.commandBus(CommandBus commandBus)
Sets the
CommandBus used to dispatch commands. |
DefaultCommandGateway.Builder |
DefaultCommandGateway.Builder.commandBus(CommandBus commandBus) |
CommandGatewayFactory.Builder |
CommandGatewayFactory.Builder.commandBus(CommandBus commandBus)
Sets the
CommandBus on which to dispatch CommandMessages. |
| 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–2022. All rights reserved.