Annotation Interface RabbitProperties


@Documented @Retention(RUNTIME) @Target({TYPE,METHOD}) @Inherited public @interface RabbitProperties
Annotation to collect a set of properties.
Since:
1.1.0
Author:
James Kleeh
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    This allows you to have multiple @RabbitProperty annotations set at the class level with Java and Groovy.
  • Element Details

    • value

      This allows you to have multiple @RabbitProperty annotations set at the class level with Java and Groovy. Example usage:
      
      @RabbitProperties({
           @RabbitProperty(name="userId",value="jsmith"),
           @RabbitProperty(name="correlationId",value="123")
       })
       
      Returns:
      The properties
      Default:
      {}