| Package | Description | 
|---|---|
| org.axonframework.commandhandling | Classes that implement the concept of command handling using explicit command objects. | 
| Modifier and Type | Class and Description | 
|---|---|
| static class  | AsynchronousCommandBus.BuilderBuilder class to instantiate a  AsynchronousCommandBus. | 
| Modifier and Type | Method and Description | 
|---|---|
| static SimpleCommandBus.Builder | SimpleCommandBus. builder()Instantiate a Builder to be able to create a  SimpleCommandBus. | 
| SimpleCommandBus.Builder | SimpleCommandBus.Builder. defaultCommandCallback(CommandCallback<Object,Object> defaultCommandCallback)Sets the callback to use when commands are dispatched in a "fire and forget" method, such as
  SimpleCommandBus.dispatch(CommandMessage). | 
| SimpleCommandBus.Builder | SimpleCommandBus.Builder. duplicateCommandHandlerResolver(DuplicateCommandHandlerResolver duplicateCommandHandlerResolver)Sets the  DuplicateCommandHandlerResolverused to resolves the road to take when a duplicate command
 handler is subscribed. | 
| SimpleCommandBus.Builder | SimpleCommandBus.Builder. messageMonitor(MessageMonitor<? super CommandMessage<?>> messageMonitor)Sets the  MessageMonitorof generic typeCommandMessageused the to monitor the command bus. | 
| SimpleCommandBus.Builder | SimpleCommandBus.Builder. rollbackConfiguration(RollbackConfiguration rollbackConfiguration)Sets the  RollbackConfigurationwhich allows you to specify when aUnitOfWorkshould be rolled
 back. | 
| SimpleCommandBus.Builder | SimpleCommandBus.Builder. transactionManager(TransactionManager transactionManager)Sets the  TransactionManagerused to manage transactions. | 
| Constructor and Description | 
|---|
| SimpleCommandBus(SimpleCommandBus.Builder builder)Instantiate a  SimpleCommandBusbased on the fields contained in theSimpleCommandBus.Builder. | 
Copyright © 2010–2020. All rights reserved.