With EasyNetQ v0.63.0.448, RabbitMqClient v4.0.2 and RabbitMq server 3.6.5 when I try to create a bus like so...
bus = RabbitHutch.CreateBus(new ConnectionConfiguration()
{
Hosts = new[] { new HostConfiguration() { Host = hostName, Port = port } },
UserName = username,
Password = password,
}, x => { }).Advanced;
I'm getting the Error:
"Field Not Found 'RabbitMQ.Client.ConnectionFactory.AutomaticRecoveryEnabled'."
Is this an underlying incompatibility between easynetq and this version of Rabbit or is there a change in the API somewhere that I need to reflect?
It looks like that version of EasyNetQ is compiled against version 3.6.0 of RabbitMQ. In version 4 of RabbitMQ, AutomaticRecoveryEnabled and some other fields in ConnectionFactory were changed to properties which is a breaking change.
Until EasyNetQ is recompiled using version 4 of RabbitMQ you will have to use an older version of RabbitMQ - 3.6.5 seems to work for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With