Class AcknowledgementHandlerExecutionStage<T>
java.lang.Object
io.awspring.cloud.sqs.listener.pipeline.AcknowledgementHandlerExecutionStage<T>
- All Implemented Interfaces:
MessageProcessingPipeline<T>
public class AcknowledgementHandlerExecutionStage<T>
extends Object
implements MessageProcessingPipeline<T>
Stage responsible for executing the
AcknowledgementHandler.- Since:
- 3.0
- Author:
- Tomaz Fernandes
-
Constructor Summary
ConstructorsConstructorDescriptionAcknowledgementHandlerExecutionStage(MessageProcessingConfiguration<T> configuration) -
Method Summary
Modifier and TypeMethodDescriptionprocess(CompletableFuture<Message<T>> messageFuture, MessageProcessingContext<T> context) processMany(CompletableFuture<Collection<Message<T>>> messagesFuture, MessageProcessingContext<T> context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.awspring.cloud.sqs.listener.pipeline.MessageProcessingPipeline
process, process
-
Constructor Details
-
AcknowledgementHandlerExecutionStage
-
-
Method Details
-
process
public CompletableFuture<Message<T>> process(CompletableFuture<Message<T>> messageFuture, MessageProcessingContext<T> context) - Specified by:
processin interfaceMessageProcessingPipeline<T>
-
processMany
public CompletableFuture<Collection<Message<T>>> processMany(CompletableFuture<Collection<Message<T>>> messagesFuture, MessageProcessingContext<T> context) - Specified by:
processManyin interfaceMessageProcessingPipeline<T>
-