Package | Description |
---|---|
org.axonframework.queryhandling |
Modifier and Type | Method and Description |
---|---|
static SimpleQueryBus.Builder |
SimpleQueryBus.builder()
Instantiate a Builder to be able to create a
SimpleQueryBus . |
SimpleQueryBus.Builder |
SimpleQueryBus.Builder.duplicateQueryHandlerResolver(DuplicateQueryHandlerResolver duplicateQueryHandlerResolver)
Sets the duplicate query handler resolver.
|
SimpleQueryBus.Builder |
SimpleQueryBus.Builder.errorHandler(QueryInvocationErrorHandler errorHandler)
Sets the
QueryInvocationErrorHandler to handle exceptions during query handler invocation. |
SimpleQueryBus.Builder |
SimpleQueryBus.Builder.messageMonitor(MessageMonitor<? super QueryMessage<?,?>> messageMonitor)
Sets the
MessageMonitor used to monitor query messages. |
SimpleQueryBus.Builder |
SimpleQueryBus.Builder.queryUpdateEmitter(QueryUpdateEmitter queryUpdateEmitter)
Sets the
QueryUpdateEmitter used to emits updates for the
QueryBus.subscriptionQuery(SubscriptionQueryMessage) . |
SimpleQueryBus.Builder |
SimpleQueryBus.Builder.spanFactory(QueryBusSpanFactory spanFactory)
Sets the
QueryBusSpanFactory implementation to use for providing tracing capabilities. |
SimpleQueryBus.Builder |
SimpleQueryBus.Builder.spanFactory(SpanFactory spanFactory)
Deprecated.
Use
spanFactory(QueryBusSpanFactory) instead as it provides more configurability. |
SimpleQueryBus.Builder |
SimpleQueryBus.Builder.transactionManager(TransactionManager transactionManager)
Sets the
TransactionManager used to manage the query handling transactions. |
Constructor and Description |
---|
SimpleQueryBus(SimpleQueryBus.Builder builder)
Instantiate a
SimpleQueryBus based on the fields contained in the SimpleQueryBus.Builder . |
Copyright © 2010–2024. All rights reserved.