rabbitmq / rabbitmq-dotnet-client

RabbitMQ .NET client for .NET Standard 2.0+ and .NET 4.6.2+

Home Page:https://www.rabbitmq.com/dotnet.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using the wrong consumer dispatcher type should throw an exception

lukebakken opened this issue · comments

Is your feature request related to a problem? Please describe.

Currently there is no indication if a user uses the wrong consumer dispatcher type (sync vs async).

Describe the solution you'd like

An exception will be thrown if the wrong type is used.

Describe alternatives you've considered

No response

Additional context

#1212