Package | Description |
---|---|
org.axonframework.commandhandling |
Classes that implement the concept of command handling using explicit command objects.
|
org.axonframework.disruptor.commandhandling | |
org.axonframework.springboot.autoconfig |
Modifier and Type | Class and Description |
---|---|
class |
FailingDuplicateCommandHandlerResolver
Implementation of
DuplicateCommandHandlerResolver that throws a
DuplicateCommandHandlerSubscriptionException when a duplicate registration is detected. |
class |
LoggingDuplicateCommandHandlerResolver
Implementation of the DuplicateCommandHandlerResolver that allows registrations to be overridden by new handlers,
but logs this (on WARN level) to a given logger.
|
Modifier and Type | Method and Description |
---|---|
static DuplicateCommandHandlerResolver |
DuplicateCommandHandlerResolution.logAndOverride()
A
DuplicateCommandHandlerResolver implementation which logs a warning message and resolve to returning
the duplicate handler and overriding the existing command handler. |
static DuplicateCommandHandlerResolver |
DuplicateCommandHandlerResolution.rejectDuplicates()
A
DuplicateCommandHandlerResolver implementation which throws a
DuplicateCommandHandlerSubscriptionException . |
static DuplicateCommandHandlerResolver |
DuplicateCommandHandlerResolution.silentOverride()
A
DuplicateCommandHandlerResolver implementation that allows handlers to silently override previous
registered handlers for the same command. |
Modifier and Type | Method and Description |
---|---|
SimpleCommandBus.Builder |
SimpleCommandBus.Builder.duplicateCommandHandlerResolver(DuplicateCommandHandlerResolver duplicateCommandHandlerResolver)
Sets the
DuplicateCommandHandlerResolver used to resolves the road to take when a duplicate command
handler is subscribed. |
AsynchronousCommandBus.Builder |
AsynchronousCommandBus.Builder.duplicateCommandHandlerResolver(DuplicateCommandHandlerResolver duplicateCommandHandlerResolver) |
Modifier and Type | Method and Description |
---|---|
DisruptorCommandBus.Builder |
DisruptorCommandBus.Builder.duplicateCommandHandlerResolver(DuplicateCommandHandlerResolver duplicateCommandHandlerResolver)
Sets the
DuplicateCommandHandlerResolver used to resolves the road to take when a duplicate command
handler is subscribed. |
Modifier and Type | Method and Description |
---|---|
DuplicateCommandHandlerResolver |
AxonAutoConfiguration.duplicateCommandHandlerResolver() |
Modifier and Type | Method and Description |
---|---|
SimpleCommandBus |
AxonAutoConfiguration.commandBus(TransactionManager txManager,
AxonConfiguration axonConfiguration,
DuplicateCommandHandlerResolver duplicateCommandHandlerResolver) |
Copyright © 2010–2022. All rights reserved.