Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in MQ.reset #39

Closed
Novakov opened this issue Apr 5, 2011 · 1 comment
Closed

Bug in MQ.reset #39

Novakov opened this issue Apr 5, 2011 · 1 comment

Comments

@Novakov
Copy link

Novakov commented Apr 5, 2011

I found that that there is bug in handling reconnecting in MQ class. When method reset is called it replaces @exchanges variable with Hash but method exchanges initializes it with instance of MQ::Collection, so when reconnecting occurs @exchanges becomes Hash and sending messages fails. Also occasionally some elements in @exchanges are nil.

Patch: http://pastebin.com/39iiGd32

@botanicus
Copy link
Collaborator

What version are you on? This is an old one, this fork is the main: https://github.com/ruby-amqp/amqp Try with last stable version and if the problem still exist, please report here: https://github.com/ruby-amqp/amqp/issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants