Annotation Type RabbitListeners


  • @Target({TYPE,METHOD,ANNOTATION_TYPE})
    @Retention(RUNTIME)
    @Documented
    public @interface RabbitListeners
    Container annotation that aggregates several RabbitListener annotations.

    Can be used natively, declaring several nested RabbitListener annotations. Can also be used in conjunction with Java 8's support for repeatable annotations, where RabbitListener can simply be declared several times on the same method (or class), implicitly generating this container annotation.

    Since:
    1.6
    Author:
    Gary Russell
    See Also:
    RabbitListener
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      RabbitListener[] value