Modifier and Type | Method and Description |
---|---|
static TargetContextResolver<Message<?>> |
TargetContextResolver.noOp()
Returns a no-op TargetContextResolver.
|
default TargetContextResolver<T> |
TargetContextResolver.orElse(TargetContextResolver<? super T> other)
Returns a TargetContextResolver that uses
this instance to resolve a context for a given message and if
it returns null , returns the results of the other resolver instead. |
Modifier and Type | Method and Description |
---|---|
default TargetContextResolver<T> |
TargetContextResolver.orElse(TargetContextResolver<? super T> other)
Returns a TargetContextResolver that uses
this instance to resolve a context for a given message and if
it returns null , returns the results of the other resolver instead. |
Modifier and Type | Method and Description |
---|---|
AxonServerCommandBus.Builder |
AxonServerCommandBus.Builder.targetContextResolver(TargetContextResolver<? super CommandMessage<?>> targetContextResolver)
Sets the
TargetContextResolver used to resolve the target (bounded) context of an ingested
CommandMessage . |
Modifier and Type | Method and Description |
---|---|
AxonServerQueryBus.Builder |
AxonServerQueryBus.Builder.targetContextResolver(TargetContextResolver<? super QueryMessage<?,?>> targetContextResolver)
Sets the
TargetContextResolver used to resolve the target (bounded) context of an ingested
QueryMessage . |
Modifier and Type | Method and Description |
---|---|
TargetContextResolver<Message<?>> |
AxonServerAutoConfiguration.targetContextResolver() |
Modifier and Type | Method and Description |
---|---|
AxonServerCommandBus |
AxonServerBusAutoConfiguration.axonServerCommandBus(AxonServerConnectionManager axonServerConnectionManager,
AxonServerConfiguration axonServerConfiguration,
CommandBus localSegment,
Serializer messageSerializer,
RoutingStrategy routingStrategy,
CommandPriorityCalculator priorityCalculator,
CommandLoadFactorProvider loadFactorProvider,
TargetContextResolver<? super CommandMessage<?>> targetContextResolver,
CommandBusSpanFactory spanFactory) |
AxonServerQueryBus |
AxonServerBusAutoConfiguration.queryBus(AxonServerConnectionManager axonServerConnectionManager,
AxonServerConfiguration axonServerConfiguration,
Configuration axonConfiguration,
TransactionManager txManager,
Serializer messageSerializer,
Serializer genericSerializer,
QueryPriorityCalculator priorityCalculator,
QueryInvocationErrorHandler queryInvocationErrorHandler,
TargetContextResolver<? super QueryMessage<?,?>> targetContextResolver) |
Copyright © 2010–2024. All rights reserved.