Class ListenerContainerConsumerFailedEvent

  • All Implemented Interfaces:
    Serializable

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

      • 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).