Package io.awspring.cloud.sqs.config
Class SqsEndpoint
java.lang.Object
io.awspring.cloud.sqs.config.AbstractEndpoint
io.awspring.cloud.sqs.config.SqsEndpoint
- All Implemented Interfaces:
Endpoint
,HandlerMethodEndpoint
Endpoint
implementation for SQS endpoints.
Contains properties that should be mapped from @SqsListener
annotations.- Since:
- 3.0
- Author:
- Tomaz Fernandes
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Return aSqsEndpoint.SqsEndpointBuilder
instance with the provided queue names.The maximum number of inflight messages each queue in this endpoint can process simultaneously.Return the maximum amount of messages that should be returned in a poll.Return the message visibility for this endpoint.The maximum duration to wait for messages in a given poll.Methods inherited from class io.awspring.cloud.sqs.config.AbstractEndpoint
configureListenerMode, createAsyncMessageListenerInstance, createMessageListenerInstance, getId, getListenerContainerFactoryName, getLogicalNames, setBean, setHandlerMethodFactory, setMethod, setupContainer
-
Constructor Details
-
SqsEndpoint
-
-
Method Details
-
builder
Return aSqsEndpoint.SqsEndpointBuilder
instance with the provided queue names.- Returns:
- the builder instance.
-
getMaxInflightMessagesPerQueue
The maximum number of inflight messages each queue in this endpoint can process simultaneously.- Returns:
- the maximum number of inflight messages.
-
getPollTimeout
The maximum duration to wait for messages in a given poll.- Returns:
- the poll timeout.
-
getMaxMessagesPerPoll
Return the maximum amount of messages that should be returned in a poll.- Returns:
- the maximum amount of messages.
-
getMessageVisibility
Return the message visibility for this endpoint.- Returns:
- the message visibility.
-