How can you peek at a message in Amazon SQS?

How can you peek at a message in Amazon SQS?

How can you peek at a message in Amazon SQS?

A.
Log the message ID and the receipt handle for your messages and correlate them to confirm when a message has been received
and deleted

B.
Send the message to Amazon S3

C.
You can’t

D.
Set up a CloudWatch alarm to auto send you the message

Explanation:
With version 2008-01-01, the PeekMessage action has been removed from Amazon SQS. This functionality was used
mainly to debug small systems — specifically to confirm a message was successfully sent to the queue or deleted from
the queue. To do this with version 2008-01-01, you can log the message ID and the receipt handle for your messages
and correlate them to confirm when a message has been received and deleted.
https://aws.amazon.com/items/1343?externalID=1343



Leave a Reply 2

Your email address will not be published. Required fields are marked *