Class SqsEndpoint

java.lang.Object
io.awspring.cloud.sqs.config.AbstractEndpoint
io.awspring.cloud.sqs.config.SqsEndpoint
All Implemented Interfaces:
Endpoint, HandlerMethodEndpoint

public class SqsEndpoint extends AbstractEndpoint
Endpoint implementation for SQS endpoints. Contains properties that should be mapped from @SqsListener annotations.
Since:
3.0
Author:
Tomaz Fernandes
  • Constructor Details

  • Method Details

    • builder

      public static SqsEndpoint.SqsEndpointBuilder builder()
      Return a SqsEndpoint.SqsEndpointBuilder instance with the provided queue names.
      Returns:
      the builder instance.
    • getMaxInflightMessagesPerQueue

      @Nullable public Integer getMaxInflightMessagesPerQueue()
      The maximum number of inflight messages each queue in this endpoint can process simultaneously.
      Returns:
      the maximum number of inflight messages.
    • getPollTimeout

      @Nullable public Duration getPollTimeout()
      The maximum duration to wait for messages in a given poll.
      Returns:
      the poll timeout.
    • getMaxMessagesPerPoll

      @Nullable public Integer getMaxMessagesPerPoll()
      Return the maximum amount of messages that should be returned in a poll.
      Returns:
      the maximum amount of messages.
    • getMessageVisibility

      @Nullable public Duration getMessageVisibility()
      Return the message visibility for this endpoint.
      Returns:
      the message visibility.