| Package | Description |
|---|---|
| org.axonframework.queryhandling | |
| org.axonframework.queryhandling.registration |
| Modifier and Type | Method and Description |
|---|---|
SimpleQueryBus.Builder |
SimpleQueryBus.Builder.duplicateQueryHandlerResolver(DuplicateQueryHandlerResolver duplicateQueryHandlerResolver)
Sets the duplicate query handler resolver.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FailingDuplicateQueryHandlerResolver
Implementation of
DuplicateQueryHandlerResolver that throws a DuplicateQueryHandlerSubscriptionException
when a duplicate registration is detected. |
class |
LoggingDuplicateQueryHandlerResolver
Implementation of the
DuplicateQueryHandlerResolver 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 DuplicateQueryHandlerResolver |
DuplicateQueryHandlerResolution.logAndAccept()
A
DuplicateQueryHandlerResolver implementation which logs a warning message and resolve to returning
both handlers as query handlers. |
static DuplicateQueryHandlerResolver |
DuplicateQueryHandlerResolution.rejectDuplicates()
A
DuplicateQueryHandlerResolver implementation which throws a
DuplicateQueryHandlerSubscriptionException. |
static DuplicateQueryHandlerResolver |
DuplicateQueryHandlerResolution.silentlyAdd()
A
DuplicateQueryHandlerResolver implementation that allows handlers to silently add previous
registered handlers for the same query. |
Copyright © 2010–2023. All rights reserved.