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's toString() method. If placed on a method, that method must contain no parameters.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String metadataKey  
    • Element Detail

      • metadataKey

        String metadataKey
        Default:
        ""