Uses of Class
org.axonframework.commandhandling.distributed.DistributedCommandBus.Builder
Packages that use DistributedCommandBus.Builder
-
Uses of DistributedCommandBus.Builder in org.axonframework.commandhandling.distributed
Methods in org.axonframework.commandhandling.distributed that return DistributedCommandBus.BuilderModifier and TypeMethodDescriptionDistributedCommandBus.builder()Instantiate a Builder to be able to create aDistributedCommandBus.DistributedCommandBus.Builder.commandRouter(CommandRouter commandRouter) Sets theCommandRouterused to determine the target node for each dispatched command.DistributedCommandBus.Builder.connector(CommandBusConnector connector) Sets theCommandBusConnectorwhich performs the actual transport of the message to the destination node.DistributedCommandBus.Builder.defaultCommandCallback(CommandCallback<Object, Object> defaultCommandCallback) Sets the callback to use when commands are dispatched in a "fire and forget" method, such asDistributedCommandBus.dispatch(CommandMessage).DistributedCommandBus.Builder.messageMonitor(MessageMonitor<? super CommandMessage<?>> messageMonitor) Sets theMessageMonitorfor generic types implementingCommandMessage, which is used to monitor incoming messages and their execution result.DistributedCommandBus.Builder.spanFactory(CommandBusSpanFactory spanFactory) Sets theCommandBusSpanFactoryimplementation to use for providing tracing capabilities.DistributedCommandBus.Builder.spanFactory(SpanFactory spanFactory) Deprecated.Constructors in org.axonframework.commandhandling.distributed with parameters of type DistributedCommandBus.BuilderModifierConstructorDescriptionprotectedInstantiate aDistributedCommandBusbased on the fields contained in theDistributedCommandBus.Builder.
spanFactory(CommandBusSpanFactory)instead as it provides more configurability.