'How to peek at messages in the queue
I don't want the message to count as "read" but I'd like to know what's in the queue. The documentation:
http://boto.s3.amazonaws.com/ref/sqs.html#module-boto.sqs
Isn't very straight forward about what absorbs a message and what doesn't. The dump message seems close, but I'd rather do this in memory rather than to a file.
The faq:
http://aws.amazon.com/articles/1343#12
Has some sketchy solution:
How do I peek at a message?
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.
Has anyone had any luck with this? It seems like very basic queue functionality and I'd be shocked if there wasn't a clean way to do this.
Solution 1:[1]
Right click no longer works in the new SQS console.
To view queue messages in the SQS console you now need to click into a queue > Send and receive messages > Poll for messages
Solution 2:[2]
Update 11/11/2020
Right-clicking no longer works on new SQS console.
See @marmor's answer
Original Answer (old dashboard)
If you have access to Amazon's AWS Console, on the queue list page, you can right-click on a queue.
Then select View/Delete Messages from the pop-up menu.
This will pop-up a window where you can start polling for messages in the queue.
Refer to images below:
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | marmor |
| Solution 2 |


