Package io.micronaut.rabbitmq.annotation
Annotation Type RabbitListener
-
@Documented @Retention(RUNTIME) @Target(TYPE) @MessageListener @Inherited public @interface RabbitListenerClass level annotation to indicate that a bean will be consumers of messages from RabbitMQ.- Since:
- 1.1.0
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.Stringconnectionjava.lang.Stringexecutor
-
-
-
Element Detail
-
connection
@AliasFor(annotation=RabbitConnection.class, member="connection") java.lang.String connection
- Returns:
- The connection to use
- See Also:
RabbitConnection.connection()
- Default:
- ""
-
-
-
executor
@AliasFor(annotation=RabbitConnection.class, member="executor") java.lang.String executor
- Returns:
- The executor to use
- See Also:
RabbitConnection.executor()
- Default:
- ""
-
-