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