Class SqsProperties
java.lang.Object
io.awspring.cloud.autoconfigure.AwsClientProperties
io.awspring.cloud.autoconfigure.sqs.SqsProperties
@ConfigurationProperties(prefix="spring.cloud.aws.sqs")
public class SqsProperties
extends AwsClientProperties
Properties related to AWS SQS.
- Since:
- 3.0
- Author:
- Tomaz Fernandes, Wei Jiang
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable io.awspring.cloud.sqs.listener.QueueNotFoundStrategyReturn the strategy to use if the queue is not found.voidsetListener(SqsProperties.Listener listener) voidsetObservationEnabled(Boolean observationEnabled) voidsetQueueNotFoundStrategy(io.awspring.cloud.sqs.listener.QueueNotFoundStrategy queueNotFoundStrategy) Set the strategy to use if the queue is not found.Methods inherited from class io.awspring.cloud.autoconfigure.AwsClientProperties
getDualstackEnabled, getEndpoint, getRegion, setDualstackEnabled, setEndpoint, setRegion
-
Field Details
-
PREFIX
The prefix used for AWS SQS configuration.- See Also:
-
-
Constructor Details
-
SqsProperties
public SqsProperties()
-
-
Method Details
-
getListener
-
setListener
-
getQueueNotFoundStrategy
public @Nullable io.awspring.cloud.sqs.listener.QueueNotFoundStrategy getQueueNotFoundStrategy()Return the strategy to use if the queue is not found.- Returns:
- the
QueueNotFoundStrategy
-
setQueueNotFoundStrategy
public void setQueueNotFoundStrategy(io.awspring.cloud.sqs.listener.QueueNotFoundStrategy queueNotFoundStrategy) Set the strategy to use if the queue is not found.- Parameters:
queueNotFoundStrategy- the strategy to set.
-
isObservationEnabled
-
setObservationEnabled
-