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
Cannot connect to RabbitMQ on JRuby 9.0.1.0 due to private method call Bunny::SocketImpl#open #356
Comments
Thank you but JRuby is no longer supported.
|
Thanks for the super fast feedback. I totally get your point. Would you still be interested in an additional PR to change the |
@naag sure. Just don't bet your kingdom on Bunny working well on JRuby in the future :) We obviously want it to work decently but March Hare has a nearly identical API and supporting JRuby prior to 9000 was fairy time consuming. |
Having almost the same API for March Hare and Bunny is definitely a great thing. I'll still try to fix it for JRuby and also update the changelog. Thanks for the support! |
@naag thank you, looking forward to a PR that makes JRuby useable again :) |
…h-jruby-9k Fix incompatibility with JRuby 9K - #356
I've just opened PR #355 to fix a issue where Bunny swallows a
NoMethodError
. This is kind of a companion issue where I try to to report the root issue.When running on JRuby 9.0.1.0 (other versions should be affected as well), Bunny cannot connect to RabbitMQ at all:
As you can see in my PR, the real issue behind this is a
NoMethodError
due to the way thatBunny::SocketImpl#open
works on JRuby (https://github.com/ruby-amqp/bunny/blob/master/lib/bunny/transport.rb#L279). This never happens on MRI because the modules are setup differently. I can't really explain it better, but the generous folks over at JRuby looked at this as well, maybe you want to checkout the conversation we had on IRC: http://logs.jruby.org/jruby/2015-10-07#14240751. Quoting:I hope this makes sense to you and there's a way to improve this. If you need anything else, I'd be happy to help out!
The text was updated successfully, but these errors were encountered: