I'm using EasyNetQ to send a message in a queue of rabbit.
I have a code like this
using (var bus = RabbitHutch.CreateBus("MyConnection"))
{
bus.Send("MyCodeName", "MyClass");
}
the connection is open when I create the bus, but there is this error when I send the message
The AMQP operation was interrupted: AMQP close-reason, initiated by Peer, code=406, text="PRECONDITION_FAILED - inequivalent arg 'x-max-priority' for queue ....: received none but current is the value '10' of type 'long'", classId=50, methodId=10, cause=
I setup the queue with x-max-priority: 10. I have to setup anything else in the connection string?