MyGit

EasyNetQ/EasyNetQ

Fork: 741 Star: 2809 (更新于 1970-01-01 00:00:00)

license: MIT

Language: C# .

An easy to use .NET API for RabbitMQ

最后发布版本: 7.6.0 ( 2023-10-13 04:18:04)

官方网址 GitHub网址

Build status

NuGet Status Nuget Status Nuget Status

Activity Activity Activity

EasyNetQ Logo

A Nice .NET API for RabbitMQ

Initial development was sponsored by travel industry experts 15below

Goals:

  1. To make working with RabbitMQ on .NET as easy as possible.

To connect to a RabbitMQ broker...

    var bus = RabbitHutch.CreateBus("host=localhost");

To publish a message...

    await bus.PubSub.PublishAsync(message);

To publish a message with 5s delay...

    await bus.Scheduler.FuturePublishAsync(message, TimeSpan.FromSeconds(5));

To subscribe to a message...

    await bus.PubSub.SubscribeAsync<MyMessage>(
        "my_subscription_id", msg => Console.WriteLine(msg.Text)
    );

Remote procedure call...

    var request = new TestRequestMessage {Text = "Hello from the client! "};
    await bus.Rpc.RequestAsync<TestRequestMessage, TestResponseMessage>(request);

RPC server...

    await bus.Rpc.RespondAsync<TestRequestMessage, TestResponseMessage>(request =>
        new TestResponseMessage{ Text = request.Text + " all done!" }
    );

Getting started

Just open EasyNetQ.sln in VisualStudio or Rider and build. All the required dependencies for the solution file to build the software are included.

Contributors

Thanks to all the people who already contributed!

最近版本更新:(数据更新于 1970-01-01 00:00:00)

2023-10-13 04:18:04 7.6.0

2023-07-20 20:49:42 7.5.5

2023-07-20 06:02:32 7.5.4

2023-06-15 08:03:45 7.5.3

2023-05-15 03:04:42 7.5.2

2023-05-05 05:08:42 7.5.1

2023-03-25 23:23:12 7.5.0

2023-02-04 05:25:43 7.4.3

2023-01-30 07:06:21 7.4.1

2023-01-29 17:05:13 7.4.0

主题(topics):

dotnet, dotnet-core, messaging, rabbitmq

EasyNetQ/EasyNetQ同语言 C#最近更新仓库

2024-11-19 11:38:46 jellyfin/jellyfin

2024-11-15 10:33:01 DigitalRuby/IPBan

2024-11-13 04:41:56 dotnet/runtime

2024-11-07 00:43:03 huiyadanli/RevokeMsgPatcher

2024-11-06 13:04:33 Pik-4/HsMod

2024-11-05 02:46:31 microsoft/PowerToys