wagslane / go-rabbitmq

A wrapper of streadway/amqp that provides reconnection logic and sane defaults
https://blog.boot.dev/golang/connecting-to-rabbitmq-in-golang-easy/
MIT License
772 stars 126 forks source link

Add function to add QueueArgs to consume options #42

Closed tscheckenbach closed 2 years ago

tscheckenbach commented 2 years ago

I needed to add DLX and DLK as queue args to prevent "PRECONDITION_FAILED - inequivalent arg 'x-dead-letter-exchange' for queue" error