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:
Serializable

public class ListenerContainerConsumerFailedEvent extends AmqpEvent
Published when a listener consumer fails.
Since:
1.5
Author:
Gary Russell
See Also:
  • Constructor Details

    • ListenerContainerConsumerFailedEvent

      public ListenerContainerConsumerFailedEvent(Object source, String reason, @Nullable 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).
  • Method Details

    • getReason

      public String getReason()
    • isFatal

      public boolean isFatal()
    • getThrowable

      public Throwable getThrowable()
    • toString

      public String toString()
      Overrides:
      toString in class EventObject