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 AcknowledgmentCallbacks.
Since:
5.0.1
Author:
Gary Russell
  • Method Details

    • createCallback

      AcknowledgmentCallback createCallback(T info)
      Create the callback.
      Parameters:
      info - information for the callback to process the acknowledgment.
      Returns:
      the callback