Moving messages from DLQ in Amazon SQS

0 votes
How do I move messages from a dead letter queue back to the original queue in Amazon SQS?

Can this be done?
Apr 20, 2018 in Cloud Computing by code_ninja
• 6,290 points
4,337 views

2 answers to this question.

0 votes

Try this:

  1. Get message from DLQ
  2. Write message to queue
  3. Delete message from DLQ

If your process fails after step 2 you'll end up copying the message twice, but you application should be handling re-delivery of messages (or not care) anyway.

answered Apr 20, 2018 by DragonLord999
• 8,450 points
0 votes
You can use a tool like https://github.com/mercury2269/sqsmover to do this.
answered Mar 8, 2020 by anonymous

Related Questions In Cloud Computing

0 votes
1 answer

Is there a way to use amazon ECR image from one account in the code build of another account?

These forums might just about help https://forums.aws.amazon.com/ ...READ MORE

answered May 7, 2018 in Cloud Computing by brat_1
• 7,200 points
954 views
0 votes
1 answer

Where should I use Amazon Kinesis instead of SNS-SQS?

Your concern is very valid. These two ...READ MORE

answered Apr 17, 2018 in Cloud Computing by code_ninja
• 6,290 points
1,540 views
0 votes
1 answer

AWS: What is SQS? How to use Amazon SQS?

Amazon Simple Queue service is a message ...READ MORE

answered Jul 11, 2018 in Cloud Computing by brat_1
• 7,200 points
465 views
+2 votes
2 answers

Is there a way to get IAM Credentials from Cognito Username/Password from CLI?

Try doing it the other way round. ...READ MORE

answered Mar 27, 2018 in Cloud Computing by brat_1
• 7,200 points
307 views
+3 votes
3 answers

Is it possible to delete a API in AWS API Gateway?

Yes, it is possible to delete an ...READ MORE

answered Mar 27, 2018 in Cloud Computing by brat_1
• 7,200 points
1,951 views
+4 votes
3 answers

Deploy RESTful API with .net framework 4.5 in AWS Lambda

This is an old question (somewhat), but ...READ MORE

answered Jan 17, 2019 in Cloud Computing by Kirk Davis
1,821 views
+4 votes
2 answers

Running JAR file on Amazon EMR created using Hadoop 2.7.5

I suggest you recompile the code or ...READ MORE

answered Oct 11, 2018 in Cloud Computing by findingbugs
• 4,790 points
799 views
+4 votes
2 answers

Amazon S3 Permission problem - How to set permissions for all files at once?

This can be done by setting the ...READ MORE

answered Mar 27, 2018 in Cloud Computing by brat_1
• 7,200 points
1,475 views
+1 vote
2 answers

What if I delete default VPC in AWS?What are the consequences?

If you wish to recreate the default ...READ MORE

answered Apr 20, 2018 in Cloud Computing by DragonLord999
• 8,450 points
3,070 views
0 votes
3 answers

Maximizing value of max_connections in AWS RDS

AWS RDS Max Connections Limit As Per ...READ MORE

answered Jul 24, 2020 in Cloud Computing by Sagar
2,590 views