arempe93 / bunny-mock

A mock client for RabbitMQ modeled after the Bunny client in ruby
http://www.rubydoc.info/github/arempe93/bunny-mock
MIT License
44 stars 37 forks source link

Headers exchanges do not route messages based on headers #38

Open jimeh opened 6 years ago

jimeh commented 6 years ago

Headers exchanges as implemented currently ignore message headers, and instead route messages based on the :routing_key passed to the #publish method, just like Direct and Topic exchanges.

It also looks like the code that binds exchanges and queues together doesn't support headers exchanges either.

Sadly I don't have time to provide a fix myself at the moment, so a issue report will have to do for now.

fernandomcunha commented 6 years ago

I'm having the same problem