Interface MessageSource<T>
- Type Parameters:
T- theMessagepayload type.
- All Superinterfaces:
ConfigurableContainerComponent
- All Known Subinterfaces:
AcknowledgementProcessingMessageSource<T>,PollingMessageSource<T>
- All Known Implementing Classes:
AbstractMessageConvertingMessageSource,AbstractPollingMessageSource,AbstractSqsMessageSource,FifoSqsMessageSource,StandardSqsMessageSource
A source of
Message instances. Such messages will be sent for emission to a connected MessageSink.- Since:
- 3.0
- Author:
- Tomaz Fernandes
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetMessageSink(MessageSink<T> messageSink) Set theMessageSinkto be used as an output for thisMessageSource.Methods inherited from interface io.awspring.cloud.sqs.listener.ConfigurableContainerComponent
configure
-
Method Details
-
setMessageSink
Set theMessageSinkto be used as an output for thisMessageSource.- Parameters:
messageSink- the message sink.
-