MyGit
🚩收到GitHub仓库的更新通知

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网址

✨免费申请网站SSL证书,支持多域名和泛域名,点击查看

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-05-12 02:24:07 jellyfin/jellyfin

2024-05-09 23:25:02 ant-design-blazor/ant-design-blazor

2024-05-07 23:33:38 dotnet/aspire

2024-05-05 16:55:00 xM4ddy/OFGB

2024-05-01 05:59:57 vpnhood/VpnHood

2024-04-30 23:29:22 RayWangQvQ/BiliBiliToolPro