CommunityToolkit.Aspire.MassTransit.RabbitMQ 9.1.1-beta.164

Prefix Reserved
This is a prerelease version of CommunityToolkit.Aspire.MassTransit.RabbitMQ.
There is a newer version of this package available.
See the version list below for details.
dotnet add package CommunityToolkit.Aspire.MassTransit.RabbitMQ --version 9.1.1-beta.164
                    
NuGet\Install-Package CommunityToolkit.Aspire.MassTransit.RabbitMQ -Version 9.1.1-beta.164
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CommunityToolkit.Aspire.MassTransit.RabbitMQ" Version="9.1.1-beta.164" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CommunityToolkit.Aspire.MassTransit.RabbitMQ" Version="9.1.1-beta.164" />
                    
Directory.Packages.props
<PackageReference Include="CommunityToolkit.Aspire.MassTransit.RabbitMQ" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CommunityToolkit.Aspire.MassTransit.RabbitMQ --version 9.1.1-beta.164
                    
#r "nuget: CommunityToolkit.Aspire.MassTransit.RabbitMQ, 9.1.1-beta.164"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package CommunityToolkit.Aspire.MassTransit.RabbitMQ@9.1.1-beta.164
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CommunityToolkit.Aspire.MassTransit.RabbitMQ&version=9.1.1-beta.164&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=CommunityToolkit.Aspire.MassTransit.RabbitMQ&version=9.1.1-beta.164&prerelease
                    
Install as a Cake Tool

MassTransit RabbitMQ Aspire Client Extension

Overview

This package provides an Aspire client extension for seamlessly integrating MassTransit with RabbitMQ. It works with the Aspire.Hosting.RabbitMQ.AddRabbitMQ() method for hosting.

The name string should match the name used in Aspire.Hosting.RabbitMQ.AddRabbitMQ(), as it references the connection string.


Features

  • Configures MassTransit RabbitMQ integration for clients.
  • Automatically discovers and registers consumers, sagas, and activities.
  • Supports OpenTelemetry and Application Insights for monitoring.
  • Uses the same configuration format as the hosting environment for easy integration.
  • Multi-bus support to configure multiple RabbitMQ instances.

Usage

Installation

To install, add the extension to your client application using builder.Services in Startup.cs or Program.cs.

Example Usage

builder.AddMassTransitRabbitMq(
    "rmq",
    options => { options.DisableTelemetry = false; },
    consumers =>
    {
        consumers.AddConsumer<SubmitOrderConsumer>();
        consumers.AddConsumer<CancelOrderConsumer>();
        consumers.AddConsumer<UpdateOrderConsumer>();
    }
);

Multi-bus example

public interface ISecondBus : IBus;
builder.AddMassTransitRabbitMq("rabbitmq1", massTransitConfiguration: x =>
{
    x.AddConsumer<TestConsumer>();
});
builder.AddMassTransitRabbitMq<ISecondBus>("rabbitmq2", massTransitConfiguration: x =>
{
    x.AddConsumer<TestConsumerTwo>();
});
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
9.6.0 141 7/10/2025
9.6.0-beta.324 100 7/10/2025
9.5.1-beta.323 100 7/10/2025
9.5.1-beta.322 103 7/10/2025
9.5.1-beta.321 103 7/10/2025
9.5.1-beta.320 107 7/9/2025
9.5.1-beta.319 111 7/8/2025
9.5.1-beta.318 109 7/2/2025
9.5.1-beta.317 106 6/30/2025
9.5.1-beta.315 112 6/26/2025
9.5.1-beta.314 111 6/23/2025
9.5.1-beta.313 101 6/20/2025
9.5.1-beta.312 106 6/20/2025
9.5.1-beta.311 111 6/18/2025
9.5.1-beta.310 115 6/17/2025
9.5.1-beta.309 112 6/17/2025
9.5.1-beta.308 108 6/17/2025
9.5.1-beta.307 114 6/16/2025
9.5.1-beta.306 261 6/11/2025
9.5.1-beta.305 84 6/7/2025
9.5.1-beta.304 105 6/6/2025
9.5.1-beta.303 111 6/4/2025
9.5.1-beta.302 113 6/4/2025
9.5.1-beta.301 117 6/2/2025
9.5.1-beta.300 127 5/28/2025
9.5.0 525 5/27/2025
9.5.0-beta.299 119 5/27/2025
9.5.0-beta.298 124 5/26/2025
9.5.0-beta.297 71 5/24/2025
9.5.0-beta.296 65 5/24/2025
9.5.0-beta.295 39 5/24/2025
9.4.1-beta.291 149 5/19/2025
9.4.1-beta.289 128 5/16/2025
9.4.1-beta.288 176 5/16/2025
9.4.1-beta.287 180 5/16/2025
9.4.1-beta.286 178 5/16/2025
9.4.1-beta.285 193 5/14/2025
9.4.1-beta.284 198 5/13/2025
9.4.1-beta.283 210 5/12/2025
9.4.1-beta.282 121 5/7/2025
9.4.1-beta.280 113 5/2/2025
9.4.1-beta.279 114 5/2/2025
9.4.1-beta.277 142 4/23/2025
9.4.1-beta.276 135 4/23/2025
9.4.1-beta.275 130 4/23/2025
9.4.1-beta.274 131 4/23/2025
9.4.1-beta.273 135 4/23/2025
9.4.1-beta.272 130 4/23/2025
9.4.1-beta.271 125 4/23/2025
9.4.1-beta.270 136 4/20/2025
9.4.0 358 4/20/2025
9.4.0-beta.269 130 4/20/2025
9.4.0-beta.268 129 4/20/2025
9.3.1-beta.267 130 4/20/2025
9.3.1-beta.266 53 4/19/2025
9.3.1-beta.265 164 4/15/2025
9.3.1-beta.264 173 4/15/2025
9.3.1-beta.263 159 4/15/2025
9.3.1-beta.262 161 4/15/2025
9.3.1-beta.260 128 4/10/2025
9.3.1-beta.259 140 4/8/2025
9.3.1-beta.258 125 4/8/2025
9.3.1-beta.257 127 4/8/2025
9.3.1-beta.256 135 4/8/2025
9.3.1-beta.255 128 4/8/2025
9.3.1-beta.254 128 4/8/2025
9.3.1-beta.253 140 4/1/2025
9.3.1-beta.252 112 3/27/2025
9.3.1-beta.250 113 3/27/2025
9.3.1-beta.249 107 3/27/2025
9.3.1-beta.248 110 3/27/2025
9.3.1-beta.247 107 3/27/2025
9.3.1-beta.244 461 3/25/2025
9.3.1-beta.242 458 3/24/2025
9.3.1-beta.241 127 3/19/2025
9.3.0 569 3/19/2025
9.3.0-beta.239 125 3/19/2025
9.2.2-beta.237 124 3/19/2025
9.2.2-beta.236 101 3/14/2025
9.2.2-beta.230 138 3/13/2025
9.2.2-beta.229 126 3/13/2025
9.2.2-beta.228 136 3/11/2025
9.2.2-beta.227 139 3/11/2025
9.2.2-beta.226 140 3/11/2025
9.2.2-beta.225 137 3/11/2025
9.2.2-beta.224 136 3/11/2025
9.2.2-beta.223 134 3/10/2025
9.2.2-beta.222 136 3/10/2025
9.2.2-beta.220 141 3/9/2025
9.2.2-beta.218 134 3/9/2025
9.2.2-beta.217 178 3/7/2025
9.2.2-beta.216 191 3/7/2025
9.2.2-beta.215 164 3/7/2025
9.2.2-beta.214 181 3/5/2025
9.2.2-beta.213 170 3/5/2025
9.2.2-beta.212 169 3/5/2025
9.2.2-beta.211 188 3/4/2025
9.2.2-beta.210 180 3/4/2025
9.2.2-beta.208 70 3/3/2025
9.2.1 2,118 3/3/2025
9.2.1-beta.207 95 3/2/2025
9.2.1-beta.206 72 3/1/2025
9.2.1-beta.205 68 2/27/2025
9.2.1-beta.204 67 2/26/2025
9.2.1-beta.203 63 2/26/2025
9.2.0 234 2/26/2025
9.2.0-beta.202 72 2/26/2025
9.2.0-beta.201 67 2/26/2025
9.2.0-beta.199 68 2/26/2025
9.2.0-beta.198 66 2/26/2025
9.1.1-beta.197 66 2/25/2025
9.1.1-beta.196 71 2/25/2025
9.1.1-beta.195 62 2/25/2025
9.1.1-beta.194 74 2/25/2025
9.1.1-beta.193 71 2/25/2025
9.1.1-beta.192 69 2/24/2025
9.1.1-beta.191 75 2/24/2025
9.1.1-beta.190 68 2/19/2025
9.1.1-beta.189 67 2/19/2025
9.1.1-beta.188 72 2/19/2025
9.1.1-beta.187 74 2/19/2025
9.1.1-beta.183 82 2/18/2025
9.1.1-beta.182 79 2/18/2025
9.1.1-beta.181 85 2/18/2025
9.1.1-beta.180 76 2/17/2025
9.1.1-beta.178 79 2/17/2025
9.1.1-beta.177 70 2/12/2025
9.1.1-beta.176 83 2/11/2025
9.1.1-beta.175 73 2/11/2025
9.1.1-beta.173 80 2/10/2025
9.1.1-beta.169 66 2/6/2025
9.1.1-beta.168 67 2/5/2025
9.1.1-beta.166 64 2/5/2025
9.1.1-beta.165 63 2/5/2025
9.1.1-beta.164 73 2/3/2025
9.1.1-beta.162 68 2/3/2025
9.1.1-beta.155 67 1/30/2025
9.1.1-beta.154 67 1/30/2025
9.1.1-beta.153 67 1/30/2025
9.1.1-beta.152 64 1/29/2025
9.1.1-beta.150 80 1/29/2025
9.1.1-beta.148 72 1/26/2025
9.1.1-beta.147 68 1/26/2025
9.1.1-beta.146 67 1/23/2025
9.1.1-beta.145 67 1/22/2025
9.1.1-beta.144 58 1/22/2025
9.1.1-beta.142 63 1/22/2025
9.1.1-beta.140 77 1/22/2025
9.1.1-beta.139 71 1/21/2025
9.1.1-beta.138 66 1/20/2025
9.1.1-beta.137 64 1/17/2025
9.1.1-beta.136 51 1/15/2025
9.1.1-beta.135 42 1/15/2025
9.1.1-beta.134 31 1/15/2025
9.1.1-beta.128 49 1/9/2025
9.1.1-beta.127 55 1/9/2025
9.1.1-beta.126 57 1/9/2025
9.1.1-beta.125 59 1/9/2025
9.1.1-beta.124 63 1/9/2025
9.1.0 206 12/12/2024
9.1.0-beta.123 78 1/3/2025
9.1.0-beta.122 70 1/3/2025
9.1.0-beta.121 72 1/2/2025
9.1.0-beta.120 71 12/30/2024
9.1.0-beta.119 65 12/30/2024
9.1.0-beta.118 71 12/30/2024
9.1.0-beta.116 64 12/30/2024
9.1.0-beta.114 70 12/30/2024
9.1.0-beta.113 73 12/30/2024
9.1.0-beta.112 65 12/18/2024
9.1.0-beta.110 71 12/16/2024
9.1.0-beta.109 78 12/12/2024
9.0.1-beta.108 71 12/12/2024
9.0.1-beta.107 66 12/11/2024
9.0.1-beta.106 74 12/12/2024
9.0.1-beta.104 72 12/11/2024