Class ListenerContainerConsumerFailedEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.springframework.context.ApplicationEvent
-
- org.springframework.amqp.event.AmqpEvent
-
- org.springframework.amqp.rabbit.listener.ListenerContainerConsumerFailedEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class ListenerContainerConsumerFailedEvent extends org.springframework.amqp.event.AmqpEventPublished when a listener consumer fails.- Since:
- 1.5
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListenerContainerConsumerFailedEvent(java.lang.Object source, java.lang.String reason, java.lang.Throwable throwable, boolean fatal)Construct an instance with the provided arguments.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetReason()java.lang.ThrowablegetThrowable()booleanisFatal()java.lang.StringtoString()
-
-
-
Constructor Detail
-
ListenerContainerConsumerFailedEvent
public ListenerContainerConsumerFailedEvent(java.lang.Object source, java.lang.String reason, @Nullable java.lang.Throwable throwable, boolean fatal)Construct an instance with the provided arguments.- Parameters:
source- the source container.reason- the reason.throwable- the throwable.fatal- true if the startup failure was fatal (will not be retried).
-
-