Class ListenerContainerConsumerFailedEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class ListenerContainerConsumerFailedEvent
    extends AmqpEvent
    Published when a listener consumer fails.
    Since:
    1.5
    Author:
    Gary Russell
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • 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.String getReason()  
      java.lang.Throwable getThrowable()  
      boolean isFatal()  
      java.lang.String toString()  
      • Methods inherited from class java.util.EventObject

        getSource
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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).
    • Method Detail

      • getReason

        public java.lang.String getReason()
      • isFatal

        public boolean isFatal()
      • getThrowable

        public java.lang.Throwable getThrowable()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.util.EventObject