| Package | Description |
|---|---|
| org.axonframework.commandhandling.distributed |
| Modifier and Type | Method and Description |
|---|---|
static DistributedCommandBus.Builder |
DistributedCommandBus.builder()
Instantiate a Builder to be able to create a
DistributedCommandBus. |
DistributedCommandBus.Builder |
DistributedCommandBus.Builder.commandRouter(CommandRouter commandRouter)
Sets the
CommandRouter used to determine the target node for each dispatched command. |
DistributedCommandBus.Builder |
DistributedCommandBus.Builder.connector(CommandBusConnector connector)
Sets the
CommandBusConnector which performs the actual transport of the message to the destination
node. |
DistributedCommandBus.Builder |
DistributedCommandBus.Builder.messageMonitor(MessageMonitor<? super CommandMessage<?>> messageMonitor)
Sets the
MessageMonitor for generic types implementing CommandMessage, which is used to
monitor incoming messages and their execution result. |
| Constructor and Description |
|---|
DistributedCommandBus(DistributedCommandBus.Builder builder)
Instantiate a
DistributedCommandBus based on the fields contained in the DistributedCommandBus.Builder. |
Copyright © 2010–2018. All rights reserved.