Skip to content

RabbitClient 3.6.0, Multiple hosts and Recovery updates

Compare
Choose a tag to compare
@pardahlman pardahlman released this 16 Jan 19:53
· 331 commits to master since this release

In this release, we're updating the RabbitMQ.Client to the latest version 3.6.0. The client has support for multiple hosts and selection strategies (rabbitmq/rabbitmq-dotnet-client#81), which has been incorporated in 1.8.0 of RawRabbit. Previously, we used implementations of IConnectionBroker to get a connection from any of the brokers defined in the configuration. This layer has been removed since it is no longer needed. This also gave us the follwoing changes

  • New format of connectionString, since we are limited to one virtual host, username and password over all hosts.
  • New format on for RawRabbitConfiguration object the Brokers property has been replaced by Hostnames, a list of strings.
  • IConnectionBroker interface is removed

Recovering from lost connections or closed channels is now more stable, since we're listening to the Recovery event on channels and connections and use it as a trigger for completing the async operation of receiving the channel/connection

We are also staying current with underlying serialization framework, Newtonsoft.Json, that has been updated to 8.0.2