@Target(value={FIELD,ANNOTATION_TYPE}) @Retention(value=RUNTIME) @EntityId public @interface AggregateIdentifier
Modifier and Type | Optional Element and Description |
---|---|
String |
routingKey
Get the name of the routing key property on commands that provides the identifier that should be used
to target the aggregate root with the annotated field.
|
public abstract String routingKey
Optional. If left empty this defaults to field name.
Copyright © 2010–2018. All rights reserved.