Package io.micronaut.rabbitmq.event
Class RabbitConsumerStarting
java.lang.Object
java.util.EventObject
io.micronaut.context.event.ApplicationEvent
io.micronaut.rabbitmq.event.AbstractRabbitEvent<Object>
io.micronaut.rabbitmq.event.AbstractRabbitConsumerEvent
io.micronaut.rabbitmq.event.RabbitConsumerStarting
- All Implemented Interfaces:
Serializable
An event fired before a RabbitMQ consumer subscribes to a queue.
- Since:
- 4.1.0
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionRabbitConsumerStarting
(Object bean, String method, String queue) Default constructor. -
Method Summary
Methods inherited from class io.micronaut.rabbitmq.event.AbstractRabbitConsumerEvent
getMethod, getQueue
Methods inherited from class io.micronaut.rabbitmq.event.AbstractRabbitEvent
getSource
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
RabbitConsumerStarting
Default constructor.- Parameters:
bean
- The bean annotated asRabbitListener
method
- The consumer methodqueue
- The name of the queue the consumer subscribes to
-