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.
A callback for publisher confirmations.
- Since:
- 1.0
- Author:
- Mark Pollack, Mark Fisher, Dave Syer, Gary Russell, Artem Bilan, Ernest Sadykov, Mark Norkin, Mohammad Hewedy, Alexey Platonov, Leonardo Ferreira, Ngoc Nhan, Jeongjun Min, Stephane Nicoll
-
Method Summary
Modifier and TypeMethodDescriptionvoidconfirm(@Nullable CorrelationData correlationData, boolean ack, @Nullable String cause) Confirmation callback.
-
Method Details
-
confirm
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.
-