AWS Certified Solutions Architect - Associate (SAA-C02)

Sign Up Free or Log In to participate!

SQS message deletion

In SQS once the resource reads the message.how it gives a thumbs up that message is processed. will SQS delete the message once the resource has processed the message

1 Answers

SQS doesn’t automatically delete a message once you read it, in case you message isn’t read or the application fails. Instead SQS expects you to send a new message acknowledging that you have read the message and it should now be deleted. In the console select the message and use the delete button. See https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-using-receive-delete-message.html.

Your client code you can run using CLIENT_ACKNOWLEDGE in which you have to explicitly acknowledge the message or AUTO_ACKNOWLEDGE in which the client reading the message automatically deletes it. https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/getting-started.html

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?