Class ListenerContainerConsumerTerminatedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.amqp.event.AmqpEvent
org.springframework.amqp.rabbit.listener.ListenerContainerConsumerTerminatedEvent
- All Implemented Interfaces:
Serializable
Published when a listener consumer is terminated.
- Since:
- 2.0
- Author:
- Gary Russell
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionListenerContainerConsumerTerminatedEvent
(Object source, String reason) Construct an instance with the provided arguments. -
Method Summary
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource
-
Constructor Details
-
ListenerContainerConsumerTerminatedEvent
Construct an instance with the provided arguments.- Parameters:
source
- the source container.reason
- the reason.
-
-
Method Details
-
getReason
-
toString
- Overrides:
toString
in classEventObject
-