How do I set a number of retry attempts in RabbitMQ?

There are no such feature like retry attempts in RabbitMQ (as well as in AMQP protocol). Possible solution to implement retry attempts limit behavior: Redeliver message if it was not previously redelivered (check redelivered parameter on basic.deliver method – your library should have some interface for this) and drop it and then catch in dead … Read more