Class SqsReceiver


  • public final class SqsReceiver
    extends Object
    A low-level receiver of SqsMessages. Received messages contain the raw String body payloads as received from requests to SQS. Each Subscription to Messages is backed by its own SqsAsyncClient which is disposed/closed upon termination of the Subscription.
    • Method Detail

      • create

        public static SqsReceiver create​(SqsReceiverOptions options)
        Creates a reactive SQS receiver with the specified configuration options.
      • receiveManual

        public Flux<SqsReceiverMessage> receiveManual​(String queueUrl)
        Receive SqsMessages where each Message's deletion and visibility must be explicitly handled. If a received Message is not deleted or has its visibility managed before the visibility timeout lapses, the Message may be received again, and operations on the original Message (using its original receipt handle) may result in errors indicating the Message could not be found.
        Parameters:
        queueUrl - The URL of the Queue to receive messages from
        Returns:
        Flux of inbound Messages whose visibility and deletion must be manually handled