Package io.micronaut.rabbitmq.annotation
Annotation Interface RabbitListener
@Documented
@Retention(RUNTIME)
@Target(TYPE)
@MessageListener
@Inherited
public @interface RabbitListener
Class level annotation to indicate that a bean will be consumers of messages
from RabbitMQ.
- Since:
- 1.1.0
- Author:
- James Kleeh
-
Optional Element Summary
-
Element Details
-
connection
- Returns:
- The connection to use
- See Also:
- Default:
- ""
-
executor
- Returns:
- The executor to use
- See Also:
- Default:
- ""
-