Class FanOutMessageSink<T>
java.lang.Object
io.awspring.cloud.sqs.listener.sink.AbstractMessageProcessingPipelineSink<T>
io.awspring.cloud.sqs.listener.sink.FanOutMessageSink<T>
- Type Parameters:
T- theMessagepayload type.
- All Implemented Interfaces:
ConfigurableContainerComponent,MessageProcessingPipelineSink<T>,MessageSink<T>,TaskExecutorAware,Lifecycle,Phased,SmartLifecycle
MessageProcessingPipelineSink implementation that executes messages from the provided batch in parallel.- Since:
- 3.0
- Author:
- Tomaz Fernandes
-
Field Summary
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CompletableFuture<Void>doEmit(Collection<Message<T>> messages, MessageProcessingContext<T> context) Methods inherited from class io.awspring.cloud.sqs.listener.sink.AbstractMessageProcessingPipelineSink
emit, execute, execute, isRunning, logError, logError, setMessagePipeline, setTaskExecutor, start, stopMethods 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.ConfigurableContainerComponent
configureMethods inherited from interface org.springframework.context.SmartLifecycle
getPhase, isAutoStartup, stop
-
Constructor Details
-
FanOutMessageSink
public FanOutMessageSink()
-
-
Method Details
-
doEmit
protected CompletableFuture<Void> doEmit(Collection<Message<T>> messages, MessageProcessingContext<T> context) - Specified by:
doEmitin classAbstractMessageProcessingPipelineSink<T>
-