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

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Prefix for SQS JMS settings.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull @Min(0L) Integer
    Number of messages to prefetch for better receive turnaround times.
    boolean
    Whether SQS is active.
  • Field Details

  • 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