Since RabbitMq version 3.8.0 queues are create with x-queue-type: classic by default, this seems to be causing an error on EasyNetQ.
Running the following snippet will trigger an error
this.bus.Receive(queueName, onMessage);
Error
The AMQP operation was interrupted: AMQP close-reason, initiated by Peer, code=406, text='PRECONDITION_FAILED - inequivalent arg 'x-queue-type' for queue 'TheQueue' in vhost '/': received none but current is the value 'classic' of type 'longstr'', classId=50, methodId=10
I did some tests and I know for a fact that the problem is the queue type, I would like to be able to connect EasyNetQ to this kind of queue but I couldn find any reference in the documentation on how to do this.
Thanks for reporting this. It is in fact a bug in RabbitMQ. I created an issue report here if you would like to follow along. The fix will ship in version 3.8.2
.