Getting Started
Architecture
NServiceBus
Transports
Persistence
ServiceInsight
ServicePulse
ServiceControl
Monitoring
Samples

RabbitMQ Transport Upgrade Version 9 to 10

Component: RabbitMQ Transport

RabbitMQ Client v7 Upgrade

The transport now uses RabbitMQ.Client v7.0.0, which exclusively supports an async API model. This change results in some breaking changes in the public API.

For details, see the RabbitMQ client changelog.

IRoutingTopology Updates

The following changes have been made to IRoutingTopology:

  • All methods return a ValueTask.
  • The type of the channel parameter has been changed from RabbitMQ.Client.IModel to RabbitMQ.Client.IChannel.
  • The type of the properties parameter has been changed from RabbitMQ.Client.IBasicProperties to RabbitMQ.Client.BasicProperties.
  • All methods include a CancellationToken as the last parameter.

Related Articles

  • RabbitMQ Transport
    An overview of the RabbitMQ transport, learn how to configure and use RabbitMQ as a transport in NServiceBus.