Uses of Class
org.axonframework.commandhandling.SimpleCommandBus.Builder
Packages that use SimpleCommandBus.Builder
Package
Description
Classes that implement the concept of command handling using explicit command objects.
-
Uses of SimpleCommandBus.Builder in org.axonframework.commandhandling
Subclasses of SimpleCommandBus.Builder in org.axonframework.commandhandlingModifier and TypeClassDescriptionstatic classBuilder class to instantiate aAsynchronousCommandBus.Methods in org.axonframework.commandhandling that return SimpleCommandBus.BuilderModifier and TypeMethodDescriptionstatic SimpleCommandBus.BuilderSimpleCommandBus.builder()Instantiate a Builder to be able to create aSimpleCommandBus.SimpleCommandBus.Builder.defaultCommandCallback(CommandCallback<Object, Object> defaultCommandCallback) Sets the callback to use when commands are dispatched in a "fire and forget" method, such asSimpleCommandBus.dispatch(CommandMessage).SimpleCommandBus.Builder.duplicateCommandHandlerResolver(DuplicateCommandHandlerResolver duplicateCommandHandlerResolver) Sets theDuplicateCommandHandlerResolverused to resolves the road to take when a duplicate command handler is subscribed.SimpleCommandBus.Builder.messageMonitor(MessageMonitor<? super CommandMessage<?>> messageMonitor) Sets theMessageMonitorof generic typeCommandMessageused the to monitor the command bus.SimpleCommandBus.Builder.rollbackConfiguration(RollbackConfiguration rollbackConfiguration) Sets theRollbackConfigurationwhich allows you to specify when aUnitOfWorkshould be rolled back.SimpleCommandBus.Builder.spanFactory(CommandBusSpanFactory spanFactory) Sets theCommandBusSpanFactoryimplementation to use for providing tracing capabilities.SimpleCommandBus.Builder.spanFactory(SpanFactory spanFactory) Deprecated.SimpleCommandBus.Builder.transactionManager(TransactionManager transactionManager) Sets theTransactionManagerused to manage transactions.Constructors in org.axonframework.commandhandling with parameters of type SimpleCommandBus.BuilderModifierConstructorDescriptionprotectedSimpleCommandBus(SimpleCommandBus.Builder builder) Instantiate aSimpleCommandBusbased on the fields contained in theSimpleCommandBus.Builder.
spanFactory(CommandBusSpanFactory)instead as it provides more configurability.