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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With