Closed jonnor closed 6 years ago
It also seems to panic:
panicked at 'outport setup failed: Protocol("Unexpected method frame: channel.close, expected: exchange.declare-ok"
This appears to be a problem with how the default vhost is handled, judging from my RabbitMQ logs.
I believe the default vhost should be "/".to_string()
. This also causes a panic when Session::new()
is used without passing the vhost
option explicitly.
I filed a PR to fix this in #68 - appreciate any feedback you guys might have (and if you want to test it out, go ahead).
Thank you for this PR!
For instance both
amqp://localhost
andamqp://localhost
fails, where asamqp://localhost//
succeeds.