Skip to content

ExchangeBind problem impacts more versions than initial testing revealed #317

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

Closed
bording opened this issue Mar 27, 2017 · 10 comments
Closed
Milestone

Comments

@bording
Copy link
Collaborator

bording commented Mar 27, 2017

So it looks like the problem I found in #314 is more widespread than my initial testing led me to believe.

In the master branch, AutomaticRecoveryEnabled is true by default, and I forgot to manually set that to true when testing. 😦

Revised repro:

var factory = new ConnectionFactory();
factory.AutomaticRecoveryEnabled = true;

var connection = factory.CreateConnection();
var channel = connection.CreateModel();

channel.ExchangeDeclare("test1", ExchangeType.Fanout);
channel.ExchangeDeclare("test2", ExchangeType.Fanout);

channel.ExchangeBind("test1", "test2", "");
channel.ExchangeBind("test1", "test2", ""); //this throws

Here is the result of my testing:

3.6.6: works
3.6.7: broken
3.6.8: broken

4.1.1: works
4.1.2: broken

5.0.0-pre3: broken
5.0.0-pre4: works

So this bug is currently still a problem for 3.6.7, 3.6.8, and 4.1.2.

@kjnilsson
Copy link
Contributor

kjnilsson commented Mar 28, 2017 via email

@michaelklishin
Copy link
Contributor

We should release a 4.1.3 then.

@adamralph
Copy link
Contributor

And a 3.6.9?

@michaelklishin
Copy link
Contributor

oh, and perhaps cherry-pick to 3.6.x

@kjnilsson
Copy link
Contributor

kjnilsson commented Mar 28, 2017

Working on it.

@kjnilsson
Copy link
Contributor

@adamralph
Copy link
Contributor

Thanks @kjnilsson - I'll smoke test it.

@adamralph
Copy link
Contributor

@kjnilsson I'm happy to report that 4.1.3 seems OK, with respect to NServiceBus.RabbitMQ.

I'll keep an eye out for 3.6.9.

@adamralph
Copy link
Contributor

@michaelklishin @kjnilsson I'm happy to report that 3.6.9 seems OK, with respect to NServiceBus.RabbitMQ.

@kjnilsson
Copy link
Contributor

@adamralph good to hear. Thanks for reporting back.

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

4 participants