Package | Description |
---|---|
org.axonframework.commandhandling.distributed |
Modifier and Type | Method and Description |
---|---|
static UnresolvedRoutingKeyPolicy |
UnresolvedRoutingKeyPolicy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnresolvedRoutingKeyPolicy[] |
UnresolvedRoutingKeyPolicy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
AbstractRoutingStrategy(UnresolvedRoutingKeyPolicy unresolvedRoutingKeyPolicy)
Initializes the strategy using given
unresolvedRoutingKeyPolicy prescribing what happens when a
routing key cannot be resolved. |
AnnotationRoutingStrategy(Class<? extends Annotation> annotationType,
UnresolvedRoutingKeyPolicy unresolvedRoutingKeyPolicy)
Initializes a Routing Strategy that uses the given annotation to resolve the targeted identifier and the given
unresolvedRoutingKeyPolicy when an incoming command does not define an Identifier to base the routing key
on. |
AnnotationRoutingStrategy(UnresolvedRoutingKeyPolicy unresolvedRoutingKeyPolicy)
Initializes a Routing Strategy that uses the given
unresolvedRoutingKeyPolicy when an incoming
command does not define a RoutingKey annotated field to base the routing on. |
MetaDataRoutingStrategy(String metaDataKey,
UnresolvedRoutingKeyPolicy unresolvedRoutingKeyPolicy)
Initializes the MetaDataRoutingStrategy where the given
metaDataKey is used to get the Meta Data
value. |
Copyright © 2010–2019. All rights reserved.