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-04 20:01:02 Pik-4/HsMod

2024-11-03 23:57:50 jellyfin/jellyfin

2024-10-31 10:00:36 metatube-community/jellyfin-plugin-metatube

2024-10-30 03:58:07 AlchlcDvl/TownOfUsReworked

2024-10-26 07:18:02 Azure/azure-sdk-for-net

2024-10-23 06:18:57 PowerShell/PowerShell