| Package | Description |
|---|---|
| org.axonframework.commandhandling.distributed |
| Modifier and Type | Method and Description |
|---|---|
AnnotationRoutingStrategy.Builder |
AnnotationRoutingStrategy.Builder.annotationType(Class<? extends Annotation> annotationType)
Sets the
annotationType Class searched for by this routing strategy on a CommandMessage to base the routing key on. |
static AnnotationRoutingStrategy.Builder |
AnnotationRoutingStrategy.builder()
Instantiate a Builder to be able to create a
AnnotationRoutingStrategy. |
AnnotationRoutingStrategy.Builder |
AnnotationRoutingStrategy.Builder.fallbackRoutingStrategy(RoutingStrategy fallbackRoutingStrategy)
Sets the fallback
RoutingStrategy to use when the intended routing key resolution was unsuccessful. |
| Constructor and Description |
|---|
AnnotationRoutingStrategy(AnnotationRoutingStrategy.Builder builder)
Instantiate a
AnnotationRoutingStrategy based on the fields contained in the given builder. |
Copyright © 2010–2023. All rights reserved.