public class ListenerContainerConsumerFailedEvent extends AmqpEvent
source| Constructor and Description |
|---|
ListenerContainerConsumerFailedEvent(Object source,
String reason,
Throwable throwable,
boolean fatal)
Construct an instance with the provided arguments.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getReason() |
Throwable |
getThrowable() |
boolean |
isFatal() |
String |
toString() |
getSourcepublic ListenerContainerConsumerFailedEvent(Object source, String reason, Throwable throwable, boolean fatal)
source - the source container.reason - the reason.throwable - the throwable.fatal - true if the startup failure was fatal (will not be retried).public String getReason()
public boolean isFatal()
public Throwable getThrowable()
public String toString()
toString in class EventObject