Annotation Interface RoutingKey
@Target({METHOD,FIELD,ANNOTATION_TYPE})
@Retention(RUNTIME)
@Deprecated(since="5.0.0")
public @interface RoutingKey
Deprecated.
Field or method level annotation that marks a field or method providing the routing key that a command targets.
If placed on a method, that method must contain no parameters. The return value will be used as the Routing Key.
If placed on a field, the field's value will be converted into a Routing Key instance identical to how a method's
return value is converted.
- Since:
- 4.0
- Author:
- Steven van Beelen
invalid @link
{@link @CommandHandler