| Package | Description | 
|---|---|
| org.axonframework.commandhandling | Classes that implement the concept of command handling using explicit command objects. | 
| org.axonframework.config | |
| org.axonframework.disruptor.commandhandling | |
| org.axonframework.eventhandling | Classes related to event handling and dispatching, such as  Event Listenersand theEvent Bus. | 
| org.axonframework.messaging.unitofwork | 
| Modifier and Type | Method and Description | 
|---|---|
| AsynchronousCommandBus.Builder | AsynchronousCommandBus.Builder. rollbackConfiguration(RollbackConfiguration rollbackConfiguration) | 
| SimpleCommandBus.Builder | SimpleCommandBus.Builder. rollbackConfiguration(RollbackConfiguration rollbackConfiguration)Sets the  RollbackConfigurationwhich allows you to specify when aUnitOfWorkshould be rolled
 back. | 
| void | SimpleCommandBus. setRollbackConfiguration(RollbackConfiguration rollbackConfiguration)Sets the  RollbackConfigurationthat allows you to change when theUnitOfWorkis rolled back. | 
| Modifier and Type | Method and Description | 
|---|---|
| RollbackConfiguration | EventProcessingModule. rollbackConfiguration(String componentName) | 
| RollbackConfiguration | EventProcessingConfiguration. rollbackConfiguration(String processingGroup)Returns the  RollbackConfigurationtied to the givenprocessingGroup. | 
| Modifier and Type | Method and Description | 
|---|---|
| EventProcessingConfigurer | EventProcessingModule. registerRollbackConfiguration(String name,
                             Function<Configuration,RollbackConfiguration> rollbackConfigurationBuilder) | 
| EventProcessingConfigurer | EventProcessingConfigurer. registerRollbackConfiguration(String name,
                             Function<Configuration,RollbackConfiguration> rollbackConfigurationBuilder) | 
| Modifier and Type | Method and Description | 
|---|---|
| <R> ResultMessage<R> | DisruptorUnitOfWork. executeWithResult(Callable<R> task,
                 RollbackConfiguration rollbackConfiguration)Execute the given  taskin the context of this Unit of Work. | 
| DisruptorCommandBus.Builder | DisruptorCommandBus.Builder. rollbackConfiguration(RollbackConfiguration rollbackConfiguration)Sets the  RollbackConfigurationwhich allows you to specify when aUnitOfWorkshould be rolled
 back. | 
| Constructor and Description | 
|---|
| EventPublisher(Executor executor,
              TransactionManager transactionManager,
              RollbackConfiguration rollbackConfiguration,
              int segmentId)Initializes the EventPublisher to publish Events to the given  eventStoreandeventBusfor aggregate of givenaggregateType. | 
| Modifier and Type | Method and Description | 
|---|---|
| SubscribingEventProcessor.Builder | SubscribingEventProcessor.Builder. rollbackConfiguration(RollbackConfiguration rollbackConfiguration)Sets the  RollbackConfigurationspecifying the rollback behavior of theUnitOfWorkwhile
 processing a batch of events. | 
| TrackingEventProcessor.Builder | TrackingEventProcessor.Builder. rollbackConfiguration(RollbackConfiguration rollbackConfiguration)Sets the  RollbackConfigurationspecifying the rollback behavior of theUnitOfWorkwhile
 processing a batch of events. | 
| AbstractEventProcessor.Builder | AbstractEventProcessor.Builder. rollbackConfiguration(RollbackConfiguration rollbackConfiguration)Sets the  RollbackConfigurationspecifying the rollback behavior of theUnitOfWorkwhile
 processing a batch of events. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | RollbackConfigurationTypeEnum containing common rollback configurations for the Unit of Work. | 
| Modifier and Type | Method and Description | 
|---|---|
| default void | UnitOfWork. execute(Runnable task,
       RollbackConfiguration rollbackConfiguration)Execute the given  taskin the context of this Unit of Work. | 
| <R> ResultMessage<R> | UnitOfWork. executeWithResult(Callable<R> task,
                 RollbackConfiguration rollbackConfiguration)Execute the given  taskin the context of this Unit of Work. | 
| <R> ResultMessage<R> | DefaultUnitOfWork. executeWithResult(Callable<R> task,
                 RollbackConfiguration rollbackConfiguration) | 
| <R> ResultMessage<R> | BatchingUnitOfWork. executeWithResult(Callable<R> task,
                 RollbackConfiguration rollbackConfiguration)Execute the given  taskin the context of this Unit of Work. | 
Copyright © 2010–2020. All rights reserved.