Skip to content

7.0: Stack overflow "ExchangeDeclareAsync" #1444

Closed
@Jakimar

Description

@Jakimar

Describe the bug

Method ExchangeDeclareAsync in "IChannelExtensions" calling itself instead of underlying method of "ExchangeDeclareAsync" in "IChannel" causing Stack overflow. It's because undelrying method have "passive bool" parameter which does not exist in public one.

Stack overflow.
Repeat 13845 times:

   at RabbitMQ.Client.IChannelExtensions.ExchangeDeclareAsync(RabbitMQ.Client.IChannel, System.String, System.String, Boolean, Boolean, System.Collections.Generic.IDictionary`2<System.String,System.Object>)

Reproduction steps

call ExchangeDeclareAsync

Expected behavior

Method complete succesefully

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions