CommunityToolkit.Aspire.MassTransit.RabbitMQ 9.3.1-beta.248

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.3.1-beta.248
                    
NuGet\Install-Package CommunityToolkit.Aspire.MassTransit.RabbitMQ -Version 9.3.1-beta.248
                    
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.3.1-beta.248" />
                    
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.3.1-beta.248" />
                    
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.3.1-beta.248
                    
#r "nuget: CommunityToolkit.Aspire.MassTransit.RabbitMQ, 9.3.1-beta.248"
                    
#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.3.1-beta.248
                    
#: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.3.1-beta.248&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=CommunityToolkit.Aspire.MassTransit.RabbitMQ&version=9.3.1-beta.248&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 116 7/10/2025
9.6.0-beta.324 98 7/10/2025
9.5.1-beta.323 99 7/10/2025
9.5.1-beta.322 102 7/10/2025
9.5.1-beta.321 101 7/10/2025
9.5.1-beta.320 105 7/9/2025
9.5.1-beta.319 107 7/8/2025
9.5.1-beta.318 107 7/2/2025
9.5.1-beta.317 104 6/30/2025
9.5.1-beta.315 111 6/26/2025
9.5.1-beta.314 110 6/23/2025
9.5.1-beta.313 99 6/20/2025
9.5.1-beta.312 104 6/20/2025
9.5.1-beta.311 109 6/18/2025
9.5.1-beta.310 114 6/17/2025
9.5.1-beta.309 111 6/17/2025
9.5.1-beta.308 107 6/17/2025
9.5.1-beta.307 112 6/16/2025
9.5.1-beta.306 260 6/11/2025
9.5.1-beta.305 83 6/7/2025
9.5.1-beta.304 102 6/6/2025
9.5.1-beta.303 110 6/4/2025
9.5.1-beta.302 112 6/4/2025
9.5.1-beta.301 115 6/2/2025
9.5.1-beta.300 125 5/28/2025
9.5.0 398 5/27/2025
9.5.0-beta.299 117 5/27/2025
9.5.0-beta.298 122 5/26/2025
9.5.0-beta.297 69 5/24/2025
9.5.0-beta.296 63 5/24/2025
9.5.0-beta.295 38 5/24/2025
9.4.1-beta.291 147 5/19/2025
9.4.1-beta.289 127 5/16/2025
9.4.1-beta.288 175 5/16/2025
9.4.1-beta.287 177 5/16/2025
9.4.1-beta.286 176 5/16/2025
9.4.1-beta.285 192 5/14/2025
9.4.1-beta.284 197 5/13/2025
9.4.1-beta.283 209 5/12/2025
9.4.1-beta.282 119 5/7/2025
9.4.1-beta.280 110 5/2/2025
9.4.1-beta.279 111 5/2/2025
9.4.1-beta.277 140 4/23/2025
9.4.1-beta.276 133 4/23/2025
9.4.1-beta.275 126 4/23/2025
9.4.1-beta.274 128 4/23/2025
9.4.1-beta.273 132 4/23/2025
9.4.1-beta.272 127 4/23/2025
9.4.1-beta.271 122 4/23/2025
9.4.1-beta.270 134 4/20/2025
9.4.0 356 4/20/2025
9.4.0-beta.269 128 4/20/2025
9.4.0-beta.268 127 4/20/2025
9.3.1-beta.267 128 4/20/2025
9.3.1-beta.266 50 4/19/2025
9.3.1-beta.265 161 4/15/2025
9.3.1-beta.264 169 4/15/2025
9.3.1-beta.263 156 4/15/2025
9.3.1-beta.262 158 4/15/2025
9.3.1-beta.260 126 4/10/2025
9.3.1-beta.259 137 4/8/2025
9.3.1-beta.258 123 4/8/2025
9.3.1-beta.257 125 4/8/2025
9.3.1-beta.256 133 4/8/2025
9.3.1-beta.255 126 4/8/2025
9.3.1-beta.254 126 4/8/2025
9.3.1-beta.253 137 4/1/2025
9.3.1-beta.252 110 3/27/2025
9.3.1-beta.250 111 3/27/2025
9.3.1-beta.249 105 3/27/2025
9.3.1-beta.248 108 3/27/2025
9.3.1-beta.247 105 3/27/2025
9.3.1-beta.244 459 3/25/2025
9.3.1-beta.242 456 3/24/2025
9.3.1-beta.241 125 3/19/2025
9.3.0 566 3/19/2025
9.3.0-beta.239 123 3/19/2025
9.2.2-beta.237 122 3/19/2025
9.2.2-beta.236 99 3/14/2025
9.2.2-beta.230 136 3/13/2025
9.2.2-beta.229 123 3/13/2025
9.2.2-beta.228 134 3/11/2025
9.2.2-beta.227 137 3/11/2025
9.2.2-beta.226 136 3/11/2025
9.2.2-beta.225 134 3/11/2025
9.2.2-beta.224 133 3/11/2025
9.2.2-beta.223 132 3/10/2025
9.2.2-beta.222 134 3/10/2025
9.2.2-beta.220 139 3/9/2025
9.2.2-beta.218 132 3/9/2025
9.2.2-beta.217 176 3/7/2025
9.2.2-beta.216 187 3/7/2025
9.2.2-beta.215 161 3/7/2025
9.2.2-beta.214 179 3/5/2025
9.2.2-beta.213 168 3/5/2025
9.2.2-beta.212 166 3/5/2025
9.2.2-beta.211 186 3/4/2025
9.2.2-beta.210 177 3/4/2025
9.2.2-beta.208 67 3/3/2025
9.2.1 1,975 3/3/2025
9.2.1-beta.207 92 3/2/2025
9.2.1-beta.206 67 3/1/2025
9.2.1-beta.205 66 2/27/2025
9.2.1-beta.204 64 2/26/2025
9.2.1-beta.203 60 2/26/2025
9.2.0 231 2/26/2025
9.2.0-beta.202 69 2/26/2025
9.2.0-beta.201 64 2/26/2025
9.2.0-beta.199 65 2/26/2025
9.2.0-beta.198 63 2/26/2025
9.1.1-beta.197 64 2/25/2025
9.1.1-beta.196 68 2/25/2025
9.1.1-beta.195 60 2/25/2025
9.1.1-beta.194 72 2/25/2025
9.1.1-beta.193 68 2/25/2025
9.1.1-beta.192 67 2/24/2025
9.1.1-beta.191 73 2/24/2025
9.1.1-beta.190 64 2/19/2025
9.1.1-beta.189 64 2/19/2025
9.1.1-beta.188 69 2/19/2025
9.1.1-beta.187 72 2/19/2025
9.1.1-beta.183 79 2/18/2025
9.1.1-beta.182 76 2/18/2025
9.1.1-beta.181 82 2/18/2025
9.1.1-beta.180 74 2/17/2025
9.1.1-beta.178 76 2/17/2025
9.1.1-beta.177 67 2/12/2025
9.1.1-beta.176 80 2/11/2025
9.1.1-beta.175 71 2/11/2025
9.1.1-beta.173 78 2/10/2025
9.1.1-beta.169 64 2/6/2025
9.1.1-beta.168 65 2/5/2025
9.1.1-beta.166 62 2/5/2025
9.1.1-beta.165 61 2/5/2025
9.1.1-beta.164 72 2/3/2025
9.1.1-beta.162 67 2/3/2025
9.1.1-beta.155 66 1/30/2025
9.1.1-beta.154 66 1/30/2025
9.1.1-beta.153 66 1/30/2025
9.1.1-beta.152 62 1/29/2025
9.1.1-beta.150 79 1/29/2025
9.1.1-beta.148 70 1/26/2025
9.1.1-beta.147 66 1/26/2025
9.1.1-beta.146 65 1/23/2025
9.1.1-beta.145 66 1/22/2025
9.1.1-beta.144 56 1/22/2025
9.1.1-beta.142 61 1/22/2025
9.1.1-beta.140 75 1/22/2025
9.1.1-beta.139 69 1/21/2025
9.1.1-beta.138 64 1/20/2025
9.1.1-beta.137 61 1/17/2025
9.1.1-beta.136 49 1/15/2025
9.1.1-beta.135 41 1/15/2025
9.1.1-beta.134 30 1/15/2025
9.1.1-beta.128 48 1/9/2025
9.1.1-beta.127 53 1/9/2025
9.1.1-beta.126 56 1/9/2025
9.1.1-beta.125 58 1/9/2025
9.1.1-beta.124 61 1/9/2025
9.1.0 204 12/12/2024
9.1.0-beta.123 76 1/3/2025
9.1.0-beta.122 68 1/3/2025
9.1.0-beta.121 69 1/2/2025
9.1.0-beta.120 69 12/30/2024
9.1.0-beta.119 62 12/30/2024
9.1.0-beta.118 68 12/30/2024
9.1.0-beta.116 62 12/30/2024
9.1.0-beta.114 68 12/30/2024
9.1.0-beta.113 70 12/30/2024
9.1.0-beta.112 63 12/18/2024
9.1.0-beta.110 69 12/16/2024
9.1.0-beta.109 76 12/12/2024
9.0.1-beta.108 69 12/12/2024
9.0.1-beta.107 64 12/11/2024
9.0.1-beta.106 72 12/12/2024
9.0.1-beta.104 70 12/11/2024