Using SQS dead-letter queues to replay messages

I. Diagram

Diagram

II. Detailed Steps

1. Setup the SQS dead-letter queues

Step 1: Create the SQS queue with the name ap-demo-main.

Step 1

Step 2: Create the second SQS queue with the name ap-demo-main-DLQ.

Step 2

Step 3: Back to the queue ap-demo-main, go to the Dead-letter queue, then select the Edit button.

Step 3

Step 4: On the new screen, edit the configuration as shown in the image.

Step 4

Step 5: Testing.

Testing 1
Testing 2
Testing 3
Testing 4

2. Building the AWS Lambda to process the message in the dead-letter queue

(TBU)

3. Testing

(TBU)

III. References