Interface AcknowledgementExecutor<T>

All Known Implementing Classes:
SqsAcknowledgementExecutor
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 AcknowledgementExecutor<T>
Allows executing acknowledgements for a batch of messages.
Since:
3.0
Author:
Tomaz Fernandes
See Also:
  • Method Details

    • execute

      CompletableFuture<Void> execute(Collection<Message<T>> messages)
      Executes acknowledgements for the provided batch of messages.
      Parameters:
      messages - the messages.
      Returns:
      a completable future.