wework / grabbit

A lightweight transactional message bus on top of RabbitMQ
Apache License 2.0
98 stars 20 forks source link

Handlers not resolved properly for messages returned from dead lettering #191

Closed rhinof closed 4 years ago

rhinof commented 4 years ago

In cases where a message gets returned to a queue via the returnDeadToQueue events handlers do not get resolved upon replay. the root cause is that the returnDeadToQueue function sends the amqp message directly back to the queue the message was rejected from causing the exchange name to be blank which breaks handler resolution.