NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet, #2550 most downloaded on NuGet
RabbitMQ support for NServiceBus
Latest stable
11.2.1
Last release 6 months ago
04 May 2026
Release timing varies
gaps range from 2 weeks to 4 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
243 versions withdrawn
withdrawn after publishing
127 years old
370 releases · first in 1900
Drag across the ruler to compare, or tap a release to open it.
As part of this release we had 4 commits which resulted in 1 issue being closed.
As part of this release we had 4 commits which resulted in 2 issues being closed.
As part of this release we had 4 commits which resulted in 2 issues being closed.
Feature
Bug
You can download this release from nuget
Your coding agent can read these notes before it upgrades. Set up the MCP server →
As part of this release we had 1 issue closed.
As part of this release we had 1 issue closed.
As part of this release we had 5 commits which resulted in 1 issue being closed.
This is a patch release of NServiceBus.RabbitMQ. There are no breaking changes and no new features added to its API. See our release-policy for more i…
This release allows you to update to versions 3.5.X of the RabbitMQ.Client library. This will allow you to take advantage of the bug fixes and improvements in recent RabbitMQ releases.
This is a patch release of NServiceBus.RabbitMQ. There are no breaking changes and no new features added to its API. See our release-policy for more information.
This release makes the following minor changes as to how the RabbitMQ.Client library is used:
NServiceBus.Transports.RabbitMQ.dll is now compiled against version 3.5.0 of RabbitMQ.Client.dll
Note that since RabbitMQ.Client.dll is strong named you may need a binding redirect to target a newer version, ie higher than version 3.5.0.
The nuget version dependency range for RabbitMQ.Client has been changed
The nuget version dependency range for RabbitMQ.Client is now [3.5.0, 3.6.0). This should allow more flexibility moving between nuget versions of RabbitMQ.Client. See RabbitMQ.Client Nuget usage for more information.
You can download this release from nuget
As part of this release we had 3 commits which resulted in 1 issue being closed.
As part of this release we had 2 commits which resulted in 1 issue being closed.
As part of this release we had 32 commits which resulted in 13 issues being closed.
As part of this release we had 32 commits which resulted in 13 issues being closed.
Feature
Improvements
Bugs
You can download this release from nuget
As part of this release we had 3 commits which resulted in 1 issue being closed.
As part of this release we had 27 commits which resulted in 2 issues being closed.
As part of this release we had 27 commits which resulted in 2 issues being closed.
Any user publishing/sending messages with publisher confirms enabled(default)
Causes RabbitMQ resources to stay active for longer then necessary. After a long period all running services fail to connect to the Broker and the endpoint consumes all the CPU of the machine.
You can download this release from nuget
As part of this release we had 2 commits which resulted in 1 issue being closed.
As part of this release we had 2 commits which resulted in 1 issue being closed.
Hello,
RMQ client 3.4 appears to be binary incompatible with NSB RMQ at least of 1.1.5 version - please see https://groups.google.com/forum/#!topic/rabbitmq-users/xfFEQSYCt2Q Is it possible to build and publish recompiled Nuget version (probably 1.1.6) with corrected dependencies? Thanks in advance.
best regards, Alexander Alexeev Kaspersky Lab
You can download this release from nuget
As part of this release we had 2 commits which resulted in 1 issue being closed.
As part of this release we had 2 commits which resulted in 1 issue being closed.
We are using NServiceBus v5 with RabbitMQ Transport. We have 6 services that run on the same machine/bus, using NServiceBus.Host. One of them (InputService) process XML feeds and publish a lot of messages (about 1500) in a foreach loop.
Since the v5 update, this exception is raised in the publish loop of our InputService:
RabbitMQ.Client.Exceptions.ChannelAllocationException: The connection cannot support any more channels. Consider creating a new connection
at RabbitMQ.Client.Impl.SessionManager.Create()
at RabbitMQ.Client.Impl.ConnectionBase.CreateModel()
at NServiceBus.Transports.RabbitMQ.ChannelProvider.GetNewPublishChannel()
in c:\BuildAgent\work\41ea81d808fdfd62\src\NServiceBus.RabbitMQ\ChannelProvider.cs:line 35
Content trimmed. See full issue
You can download this release from nuget
As part of this release we had 5 commits which resulted in 1 issue being closed.
As part of this release we had 5 commits which resulted in 1 issue being closed.
Instead they are sent to the destination specified in the callback header.
This bug was introduced in v2.0.0
https://www.nuget.org/profiles/ParticularSoftware.rabbitmq/
As part of this release we had 4 issues closed.
As part of this release we had 4 issues closed.
Raised by @fhalim Migrated from by https://github.com/Particular/NServiceBus/issues/2182
I’ve noticed that the NSB scale out feature defaults to true on RabbitMQ. This causes funky behavior with the fanout exchange being used in the conventional routing topology. For instance, if Message1 is subscribed to on machine1 and machine2, the routing will end up looking like
+---------+
+-->Message1 +--------------+
| +---------+ |
| |
| |
+-----------------+ +-------------------+
Content trimmed. See full issue
For certain integration and acceptance tests we're starting the bus up in a self hosted scenario. It appears that the RabbitMQ transport is leaking threads which causes VSTest to not want to shut down.
This might be related to the same PersistentConnection problem that plagued the RabbitMQ installer for creating queues.
I'll provide a sample in the near future.
https://www.nuget.org/profiles/ParticularSoftware.rabbitmq/
Nothing published for this version
As part of this release we had 1 issue closed.
As part of this release we had 1 issue closed.
Using v1.1.3 and getting this error on RabbitMqDequeuStrategy, line 194.
I don't have a great case to reproduce, only that it's happening on a specific machine repeatedly.
2014-08-11 13:05:54 [Fatal] Repeated failures when communicating with the RabbitMq broker
System.InvalidOperationException: Invalid attempt made to decrement the event's count below zero.
at System.Threading.CountdownEvent.Signal()
at NServiceBus.Transports.RabbitMQ.RabbitMqDequeueStrategy.Action(Object obj) in y:\BuildAgent\work\1ccdfa5b068fb66c\src\NServiceBus.RabbitMQ\RabbitMqDequeueStrategy.cs:line 194
at System.Threading.Tasks.Task.Execute()
You can download this release from nuget
As part of this release we had 6 commits which resulted in 1 issue being closed.
As part of this release we had 6 commits which resulted in 1 issue being closed.
Currently the messages that being stored in the Audit and Error queues are not triggered as durable. Therefore these messages are lost when the RabbitMQ broker is restarted.
You can download this release from nuget
As part of this release we had 7 commits which resulted in 3 issues being closed.
As part of this release we had 7 commits which resulted in 3 issues being closed.
The following error can be raised when the bus is shutdown:
System.IO.EndOfStreamException was unhandled by user code
HResult=-2147024858
Message=SharedQueue closed
Source=RabbitMQ.Client
StackTrace:
at RabbitMQ.Util.SharedQueue`1.EnsureIsOpen()
at RabbitMQ.Util.SharedQueue`1.Dequeue(Int32 millisecondsTimeout, T& result)
at NServiceBus.Transports.RabbitMQ.RabbitMqDequeueStrategy.DequeueMessage(QueueingBasicConsumer consumer) in y:\BuildAgent\work\1ccdfa5b068fb66c\src\NServiceBus.RabbitMQ\RabbitMqDequeueStrategy.cs:line 169
at NServiceBus.Transports.RabbitMQ.RabbitMqDequeueStrategy.Action(Object obj) in y:\BuildAgent\work\1ccdfa5b068fb66c\src\NServiceBus.RabbitMQ\RabbitMqDequeueStrategy.cs:line 111
Content trimmed. See full issue
For certain integration and acceptance tests we're starting the bus up in a self hosted scenario. It appears that the RabbitMQ transport is leaking threads which causes VSTest to not want to shut down.
This might be related to the same PersistentConnection problem that plagued the RabbitMQ installer for creating queues.
I'll provide a sample in the near future.
You can download this release from nuget
Same as v1.1.1 release but this time compiled against NServiceBus v4.4 :smile:
Same as v1.1.1 release but this time compiled against NServiceBus v4.4 :smile:
You can download this release from nuget
As part of this release we had 9 commits which resulted in 1 issue being closed.
As part of this release we had 9 commits which resulted in 1 issue being closed.
It appears that when custom SQL queries to MS SQL Server (using SqlConnection) are made during the lifetime of a NServiceBus message handler, non-deterministic behavior is resulted. Sometimes ambient transaction is never committed, which results in NServiceBus.RabbitMQ never sending out messages that should be sent. That is apparently because flushing of NSB's unit of work is bound to TransactionCompleted event, which sometimes never launches.
I'm able to work around the issue the following way: instead of letting SqlConnection to automatically enlist to ambient transaction, I'm preventing it using 'Enlist=false' in connection string. I don't use System.Transactions at all with the SqlConnection, but I hook up SqlTransaction using NServiceBus'es IManageUnitsOfWork interface.
The issue can be reproduced: https://github.com/peuramaki/NServiceBus.RabbitMq.Issue26
EDIT: workaround suggested here doesn't fix my production scenario, non-deterministic behavior continues.
It also seems that if I forget to close the SqlConnection (or return it to connection pool), non-deterministic behavior is gone.
You can download this release from nuget
This release consist of these issues that were achieved through these commits.
This release consist of these issues that were achieved through these commits.
Raised by @fhalim Migrated from by https://github.com/Particular/NServiceBus/pull/1352
We are having a non-NServiceBus endpoint integrate with an NServiceBus endpoint over RabbitMQ. The non-NServiceBus endpoint application creates a temporary queue/exchange pair for itself, does the equivalent of a Bus.Send to the NServiceBus endpoint, expecting a response on the temporary exchange. However, when the NServiceBus endpoint does Bus.Reply, it first tries to create a queue/exchange pair for the recipient and fails because they have already been created, but are temporary instead of permanent.
This change makes it so that Bus.Send and Bus.Reply do not implicitly attempt to create queue/exchange pairs for the recipient. Only exchanges for the types being published are created implicitly.
Bus.Send or a Bus.Reply does not exist, this will raise an exception. This behavior is in line with the MSMQ endpoint and I think is what we'd expect when we send a command to an endpoint. Queues will only get created by the subscribers that read from them.
Content trimmed. See full issueRaised by @SimonCropp Migrated from by https://github.com/Particular/NServiceBus/issues/1452
Fixed here https://github.com/Particular/NServiceBus/commit/f3d93a4e9f0a843867548574b44ff9910591c566
You can download this release from:
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.