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.Builder
Builder 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
DuplicateCommandHandlerResolver used to resolves the road to take when a duplicate command
handler is subscribed. |
SimpleCommandBus.Builder |
SimpleCommandBus.Builder.messageMonitor(MessageMonitor<? super CommandMessage<?>> messageMonitor)
Sets the
MessageMonitor of generic type CommandMessage used the to monitor the command bus. |
SimpleCommandBus.Builder |
SimpleCommandBus.Builder.rollbackConfiguration(RollbackConfiguration rollbackConfiguration)
Sets the
RollbackConfiguration which allows you to specify when a UnitOfWork should be rolled
back. |
SimpleCommandBus.Builder |
SimpleCommandBus.Builder.spanFactory(SpanFactory spanFactory)
Sets the
SpanFactory implementation to use for providing tracing capabilities. |
SimpleCommandBus.Builder |
SimpleCommandBus.Builder.transactionManager(TransactionManager transactionManager)
Sets the
TransactionManager used to manage transactions. |
Constructor and Description |
---|
SimpleCommandBus(SimpleCommandBus.Builder builder)
Instantiate a
SimpleCommandBus based on the fields contained in the SimpleCommandBus.Builder . |
Copyright © 2010–2023. All rights reserved.