tmm1 / amqp

AMQP client implementation in Ruby/EventMachine
http://groups.google.com/group/ruby-amqp
443 stars 5 forks source link

mq.reset looses routing keys #9

Closed achamian closed 14 years ago

achamian commented 15 years ago

While binding the queue with exchange, it stores the binding options in instance variable and in next line it removes :key from options. When amqp tries to reset queue after unbind/disconnect it uses the previously stored binding options, which no more has :key hence new queues are created without any routing keys.

I have already submitted the pull request for it.

tmm1 commented 15 years ago

Thanks, I'll make sure this gets into the next release.

tmm1 commented 14 years ago

Fixed.