@Target(value={TYPE,METHOD,ANNOTATION_TYPE}) @Retention(value=RUNTIME) @Documented public @interface RabbitListeners
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.
RabbitListener| Modifier and Type | Required Element and Description |
|---|---|
RabbitListener[] |
value |
public abstract RabbitListener[] value