ruby-amqp / hutch

A system for processing messages from RabbitMQ.
https://gocardless.com/blog/hutch-inter-service-communication-with-rabbitmq/
MIT License
855 stars 137 forks source link

Handling error with max-retry uses dead letter policies #382

Closed ahmedsaalah closed 2 years ago

ahmedsaalah commented 2 years ago

I need to handle errors in case there is an error or exception to retry with number of retries with decrement number of reminder retries if still failed pass to dead letter exchanges/queue First Question: Hutch Support to make dead letter exchange ? Second Question: There is another way to implement this solution instead of read message and duplicate this message with new retries reminder reject the original and publish the new one -as I feel it's so noob solution- ? as there is only two methods i can use in the consumer requeue and reject!