Interface SqsConfigurationProperties
@ConfigurationProperties("micronaut.jms.sqs")
@Requires(property="micronaut.jms.sqs.enabled",
value="true")
public interface SqsConfigurationProperties
Configuration properties for creating the AWS SQS
JMSConnectionFactory
.- Since:
- 1.0.0
- Author:
- Burt Beckwith
- See Also:
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull @Min(0L) Integer
Number of messages to prefetch for better receive turnaround times.boolean
Whether SQS is active.
-
Field Details
-
PREFIX
Prefix for SQS JMS settings.- See Also:
-
-
Method Details
-
isEnabled
boolean isEnabled()Whether SQS is active.- Returns:
- true to activate the SQS JMS implementation
-
getNumberOfMessagesToPrefetch
@NotNull @Min(0L) @Bindable(defaultValue="0") @NotNull @Min(0L) Integer getNumberOfMessagesToPrefetch()Number of messages to prefetch for better receive turnaround times.- Returns:
- the prefetch count
-