Annotation Type RoutingKey
-
@Target({METHOD,FIELD,TYPE}) @Retention(RUNTIME) public @interface RoutingKey
Field or method level annotation that marks a field or method providing the routing key of a message containing the enclosing object as payload. The value of the field or method converted to a string via the value'stoString()method. If placed on a method, that method must contain no parameters.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description StringmetadataKey
-
-
-
Element Detail
-
metadataKey
String metadataKey
- Default:
- ""
-
-