Class AsyncConsumerRestartedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.amqp.event.AmqpEvent
org.springframework.amqp.rabbit.listener.AsyncConsumerRestartedEvent
- All Implemented Interfaces:
Serializable
An event that is published whenever a consumer is restarted.
- Since:
- 1.7
- Author:
- Gary Russell
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionAsyncConsumerRestartedEvent
(Object source, Object oldConsumer, Object newConsumer) -
Method Summary
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource
-
Constructor Details
-
AsyncConsumerRestartedEvent
- Parameters:
source
- the listener container.oldConsumer
- the old consumer.newConsumer
- the new consumer.
-
-
Method Details
-
getOldConsumer
-
getNewConsumer
-
toString
- Overrides:
toString
in classEventObject
-