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)
A Nice .NET API for RabbitMQ
Initial development was sponsored by travel industry experts 15below
Goals:
- 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-12-20 06:41:40 microsoft/PowerToys
2024-12-07 22:15:43 Pik-4/HsMod
2024-12-01 20:18:03 BililiveRecorder/BililiveRecorder
2024-11-26 14:48:43 Azure/azure-sdk-for-net
2024-11-19 11:38:46 jellyfin/jellyfin
2024-11-15 10:33:01 DigitalRuby/IPBan