Interface RabbitTemplate.ConfirmCallback
-
- All Known Implementing Classes:
AsyncRabbitTemplate
- Enclosing class:
- RabbitTemplate
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface RabbitTemplate.ConfirmCallbackA callback for publisher confirmations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconfirm(CorrelationData correlationData, boolean ack, java.lang.String cause)Confirmation callback.
-
-
-
Method Detail
-
confirm
void confirm(@Nullable CorrelationData correlationData, boolean ack, @Nullable java.lang.String cause)
Confirmation callback.- Parameters:
correlationData- correlation data for the callback.ack- true for ack, false for nackcause- An optional cause, for nack, when available, otherwise null.
-
-