Interface PollingMessageSource<T>
- Type Parameters:
T- the message payload type.
- All Superinterfaces:
AcknowledgementProcessingMessageSource<T>,ConfigurableContainerComponent,Lifecycle,MessageSource<T>,Phased,SmartLifecycle,TaskExecutorAware
- All Known Implementing Classes:
AbstractPollingMessageSource,AbstractSqsMessageSource,FifoSqsMessageSource,StandardSqsMessageSource
public interface PollingMessageSource<T>
extends AcknowledgementProcessingMessageSource<T>, SmartLifecycle, TaskExecutorAware
MessageSource extension that provides polling configurations and SmartLifecycle capabilities.-
Field Summary
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Method Summary
Modifier and TypeMethodDescriptionvoidsetBackPressureHandler(BackPressureHandler backPressureHandler) Set theBackPressureHandlerthat will be use to handle backpressure in this source.voidsetPollingEndpointName(String endpointName) Set the endpoint name that will be polled by this source.Methods inherited from interface io.awspring.cloud.sqs.listener.source.AcknowledgementProcessingMessageSource
setAcknowledgementProcessor, setAcknowledgementResultCallbackMethods inherited from interface io.awspring.cloud.sqs.listener.ConfigurableContainerComponent
configureMethods inherited from interface io.awspring.cloud.sqs.listener.source.MessageSource
setMessageSinkMethods inherited from interface org.springframework.context.SmartLifecycle
getPhase, isAutoStartup, stopMethods inherited from interface io.awspring.cloud.sqs.listener.TaskExecutorAware
setTaskExecutor
-
Method Details
-
setPollingEndpointName
Set the endpoint name that will be polled by this source.- Parameters:
endpointName- the name.
-
setBackPressureHandler
Set theBackPressureHandlerthat will be use to handle backpressure in this source.- Parameters:
backPressureHandler- the handler.
-