Package io.micronaut.rabbitmq.event
Class RabbitConsumerStarted
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.RabbitConsumerStarted
- All Implemented Interfaces:
Serializable
An event fired after a
RabbitListener
subscribes to a queue.- Since:
- 4.1.0
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionRabbitConsumerStarted
(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
-
RabbitConsumerStarted
Default constructor.- Parameters:
bean
- The bean annotated asRabbitListener
method
- The consumer methodqueue
- The name of the queue the consumer subscribes to
-