Interface RabbitTemplate.ConfirmCallback

  • All Known Implementing Classes:
    Enclosing class:
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    public static interface RabbitTemplate.ConfirmCallback
    A callback for publisher confirmations.
    • Method Detail

      • confirm

        void confirm​(@Nullable
                     CorrelationData correlationData,
                     boolean ack,
                     String cause)
        Confirmation callback.
        correlationData - correlation data for the callback.
        ack - true for ack, false for nack
        cause - An optional cause, for nack, when available, otherwise null.