Skip to content

ExchangeBind problem impacts more versions than initial testing revealed #317

Closed
@bording

Description

@bording

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions