Interface AcknowledgmentCallbackFactory<T>
- Type Parameters:
T
- a type containing information with which to populate the acknowledgment.
- All Known Implementing Classes:
AmqpMessageSource.AmqpAckCallbackFactory
,KafkaMessageSource.KafkaAckCallbackFactory
- 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 interface AcknowledgmentCallbackFactory<T>
A factory for creating
AcknowledgmentCallback
s.- Since:
- 5.0.1
- Author:
- Gary Russell
-
Method Summary
Modifier and Type Method Description AcknowledgmentCallback
createCallback(T info)
Create the callback.
-
Method Details
-
createCallback
Create the callback.- Parameters:
info
- information for the callback to process the acknowledgment.- Returns:
- the callback
-