Package | Description |
---|---|
org.axonframework.axonserver.connector.command | |
org.axonframework.commandhandling.distributed | |
org.axonframework.springboot.autoconfig |
Modifier and Type | Method and Description |
---|---|
AxonServerCommandBus.Builder |
AxonServerCommandBus.Builder.routingStrategy(RoutingStrategy routingStrategy)
Sets the
RoutingStrategy used to correctly configure connections between Axon clients and Axon
Server. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractRoutingStrategy
Abstract implementation of the
RoutingStrategy interface that includes a fallback RoutingStrategy
which prescribes what happens when routing cannot be resolved by this implementation. |
class |
AnnotationRoutingStrategy
RoutingStrategy that expects an
RoutingKey (meta-)annotation on the command message's payload. |
class |
MetaDataRoutingStrategy
RoutingStrategy implementation that uses the value in the
MetaData of a CommandMessage assigned to a given key. |
class |
UnresolvedRoutingKeyPolicy
Set of simple
RoutingStrategy implementations. |
Modifier and Type | Method and Description |
---|---|
MetaDataRoutingStrategy.Builder |
MetaDataRoutingStrategy.Builder.fallbackRoutingStrategy(RoutingStrategy fallbackRoutingStrategy)
Sets the fallback
RoutingStrategy to use when the intended routing key resolution was unsuccessful. |
AnnotationRoutingStrategy.Builder |
AnnotationRoutingStrategy.Builder.fallbackRoutingStrategy(RoutingStrategy fallbackRoutingStrategy)
Sets the fallback
RoutingStrategy to use when the intended routing key resolution was unsuccessful. |
Constructor and Description |
---|
AbstractRoutingStrategy(RoutingStrategy fallbackRoutingStrategy)
Initializes the strategy using given
RoutingStrategy prescribing the fallback approach when this
implementation cannot resolve a routing key. |
Modifier and Type | Method and Description |
---|---|
RoutingStrategy |
AxonServerAutoConfiguration.routingStrategy() |
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,
SpanFactory spanFactory) |
Copyright © 2010–2023. All rights reserved.