Class MessageListenerExecutionStage<T>
java.lang.Object
io.awspring.cloud.sqs.listener.pipeline.MessageListenerExecutionStage<T>
- All Implemented Interfaces:
MessageProcessingPipeline<T>
public class MessageListenerExecutionStage<T>
extends Object
implements MessageProcessingPipeline<T>
Stage responsible for executing the
AsyncMessageListener.- Since:
- 3.0
- Author:
- Tomaz Fernandes
-
Constructor Summary
ConstructorsConstructorDescriptionMessageListenerExecutionStage(MessageProcessingConfiguration<T> configuration) -
Method Summary
Modifier and TypeMethodDescriptionprocess(Collection<Message<T>> messages, MessageProcessingContext<T> context) process(Message<T> message, 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, processMany
-
Constructor Details
-
MessageListenerExecutionStage
-
-
Method Details
-
process
public CompletableFuture<Message<T>> process(Message<T> message, MessageProcessingContext<T> context) - Specified by:
processin interfaceMessageProcessingPipeline<T>
-
process
public CompletableFuture<Collection<Message<T>>> process(Collection<Message<T>> messages, MessageProcessingContext<T> context) - Specified by:
processin interfaceMessageProcessingPipeline<T>
-