RabbitMQ.Bus 0.0.6

.NET Standard 2.0
There is a newer version of this package available.
See the version list below for details.
dotnet add package RabbitMQ.Bus --version 0.0.6
NuGet\Install-Package RabbitMQ.Bus -Version 0.0.6
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="RabbitMQ.Bus" Version="0.0.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RabbitMQ.Bus --version 0.0.6
#r "nuget: RabbitMQ.Bus, 0.0.6"
#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.
// Install RabbitMQ.Bus as a Cake Addin
#addin nuget:?package=RabbitMQ.Bus&version=0.0.6

// Install RabbitMQ.Bus as a Cake Tool
#tool nuget:?package=RabbitMQ.Bus&version=0.0.6

采用autofac进行DI的管理 目前仅支持Topic模式


在asp.net core中

public IServiceProvider ConfigureServices(IServiceCollection services)
    services.AddRabbitMQBus("amqp://guest:guest@", options =>
        options.ClientProvidedName = typeof(Startup).GetTypeInfo().Assembly.GetName().Name;
        options.AutomaticRecoveryEnabled = false;
        options.Persistence = true;
public void Configure(IApplicationBuilder app, IHostingEnvironment env)


[Queue(ExchangeName = "dev.ex", RoutingKey = "send.#")]
public class Person
    public string Name { set; get; }
public class PersonHandler : IRabbitMQBusHandler<Person>
    public Task Handle(Person message)
        return Task.CompletedTask;


public class IndexController : Controller
   private readonly IRabbitMQBus _rabbit;
   public IndexController(IRabbitMQBus rabbit)
      _rabbit = rabbit ?? throw new ArgumentNullException(nameof(rabbit));
   public async Task<IActionResult> Send()
      _rabbit.Publish( new { Name = "Hello RabbitMQ" }, routingKey: "send.message",exchangeName: "dev.ex");
      _rabbit.Publish(new Person{ Name = "Hello RabbitMQ" });
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android 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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on RabbitMQ.Bus:

Package Downloads

用于在asp.net core mvc中使用aotufac进行RabbitMQ.Bus的注册。

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.6 1,230 11/5/2018
1.0.5 1,245 10/18/2018
1.0.4 634 10/18/2018
1.0.3 996 10/18/2018
1.0.1 773 10/14/2018
1.0.0 1,395 9/27/2018
0.0.8 1,902 7/5/2018
0.0.7 1,058 6/28/2018
0.0.6 833 6/27/2018
0.0.5 1,124 6/27/2018
0.0.4 1,185 6/26/2018
0.0.3 1,168 6/24/2018
0.0.2 1,176 6/24/2018
0.0.1 1,166 6/1/2018