rabbitmq-cli-consumer icon indicating copy to clipboard operation
rabbitmq-cli-consumer copied to clipboard

Example for dead letter queue

Open arturslogins opened this issue 5 years ago • 0 comments

Hello!

I there any good example how to define dead letter queue?

For example i can't figure out how to correct configure it in rabbitmq-cli-consumer config file.

I have one queue "jobs" And i want to create dead letter queue "dead-jobs"

In application side my rabbitmq-cli-consumer are working with "jobs" queue and if there is and fault from application and exit code is for example Negative acknowledgement or worker can't process message then this message is moved to dead-jobs queue.

Can any one help me with correct rabbitmq-cli-consumer configuration file and a little bit explain how this all work?

Thanks!
Logins :)

arturslogins avatar Feb 14 '20 13:02 arturslogins