Class DistributedCommandBus.Builder

java.lang.Object
org.axonframework.commandhandling.distributed.DistributedCommandBus.Builder
Enclosing class:
DistributedCommandBus

public static class DistributedCommandBus.Builder extends Object
Builder class to instantiate a DistributedCommandBus.

The CommandCallback is defaulted to a LoggingCallback. The MessageMonitor is defaulted to a NoOpMessageMonitor. The CommandBusSpanFactory is defaulted to a DefaultCommandBusSpanFactory backed by a NoOpSpanFactory. The CommandRouter and CommandBusConnector are hard requirements and as such should be provided.