1
votes

I have a SQS queue which is accessed by a lambda. I'm leveraging the retry capability provided by SQS using redrive policy and forwarding the message to a dead letter queue on max retries. I would like to append additional data to the message on each retry , but would like SQS to continue managing the retries. Is this possible?

1

1 Answers

1
votes

This is not possible.

The ReceiveMessages action provides an attribute called ApproximateReceiveCount, which is a counter that automatically increments with each receive... but otherwise, it isn't possible to change anything about a message in the queue.