@FunctionalInterface public static interface RabbitTemplate.ConfirmCallback
Modifier and Type | Method and Description |
---|---|
void |
confirm(CorrelationData correlationData,
boolean ack,
String cause)
Confirmation callback.
|
void confirm(@Nullable CorrelationData correlationData, boolean ack, @Nullable String cause)
correlationData
- correlation data for the callback.ack
- true for ack, false for nackcause
- An optional cause, for nack, when available, otherwise null.