Rollback a SQS message

98 Views Asked by At

I would like to know if one can remove a message from SQS FIFO queue only with the response of sqs_client.send_message. I have tried MessageId from the response, but it's not a valid ReceiptHandle.

I want to do this because I need to send several messages (like 10), but if one fails, I want to remove all of the ones that didn't failed to be sent.

0

There are 0 best solutions below