| Package | Description |
|---|---|
| org.axonframework.commandhandling |
Classes that implement the concept of command handling using explicit command objects.
|
| org.axonframework.eventhandling |
Classes related to event handling and dispatching, such as
Event Listeners and the Event Bus. |
| org.axonframework.eventhandling.pooled | |
| org.axonframework.messaging.unitofwork |
| Modifier and Type | Method and Description |
|---|---|
SimpleCommandBus.Builder |
SimpleCommandBus.Builder.rollbackConfiguration(RollbackConfiguration rollbackConfiguration)
Sets the
RollbackConfiguration which allows you to specify when a UnitOfWork should be rolled
back. |
AsynchronousCommandBus.Builder |
AsynchronousCommandBus.Builder.rollbackConfiguration(RollbackConfiguration rollbackConfiguration) |
void |
SimpleCommandBus.setRollbackConfiguration(RollbackConfiguration rollbackConfiguration)
Sets the
RollbackConfiguration that allows you to change when the UnitOfWork is rolled back. |
| Modifier and Type | Method and Description |
|---|---|
AbstractEventProcessor.Builder |
AbstractEventProcessor.Builder.rollbackConfiguration(RollbackConfiguration rollbackConfiguration)
Sets the
RollbackConfiguration specifying the rollback behavior of the UnitOfWork while
processing a batch of events. |
TrackingEventProcessor.Builder |
TrackingEventProcessor.Builder.rollbackConfiguration(RollbackConfiguration rollbackConfiguration)
Sets the
RollbackConfiguration specifying the rollback behavior of the UnitOfWork while
processing a batch of events. |
SubscribingEventProcessor.Builder |
SubscribingEventProcessor.Builder.rollbackConfiguration(RollbackConfiguration rollbackConfiguration)
Sets the
RollbackConfiguration specifying the rollback behavior of the UnitOfWork while
processing a batch of events. |
| Modifier and Type | Method and Description |
|---|---|
PooledStreamingEventProcessor.Builder |
PooledStreamingEventProcessor.Builder.rollbackConfiguration(RollbackConfiguration rollbackConfiguration) |
| Modifier and Type | Class and Description |
|---|---|
class |
RollbackConfigurationType
Enum 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
task in the context of this Unit of Work. |
<R> ResultMessage<R> |
BatchingUnitOfWork.executeWithResult(Callable<R> task,
RollbackConfiguration rollbackConfiguration)
Execute the given
task in the context of this Unit of Work. |
<R> ResultMessage<R> |
DefaultUnitOfWork.executeWithResult(Callable<R> task,
RollbackConfiguration rollbackConfiguration) |
<R> ResultMessage<R> |
UnitOfWork.executeWithResult(Callable<R> task,
RollbackConfiguration rollbackConfiguration)
Execute the given
task in the context of this Unit of Work. |
Copyright © 2010–2025. All rights reserved.