{"id":13590910,"url":"https://github.com/EasyNetQ/EasyNetQ","last_synced_at":"2025-04-08T14:32:08.179Z","repository":{"id":38486616,"uuid":"1645954","full_name":"EasyNetQ/EasyNetQ","owner":"EasyNetQ","description":"An easy to use .NET API for RabbitMQ","archived":false,"fork":false,"pushed_at":"2024-09-20T14:18:27.000Z","size":71979,"stargazers_count":2900,"open_issues_count":79,"forks_count":749,"subscribers_count":157,"default_branch":"master","last_synced_at":"2024-11-01T11:18:27.661Z","etag":null,"topics":["dotnet","dotnet-core","messaging","rabbitmq"],"latest_commit_sha":null,"homepage":"http://easynetq.com","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EasyNetQ.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2011-04-21T15:47:20.000Z","updated_at":"2024-10-31T01:11:04.000Z","dependencies_parsed_at":"2024-04-01T05:39:19.007Z","dependency_job_id":"ed31cc98-b077-4d5c-b9fe-dba0cca28986","html_url":"https://github.com/EasyNetQ/EasyNetQ","commit_stats":null,"previous_names":[],"tags_count":164,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EasyNetQ%2FEasyNetQ","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EasyNetQ%2FEasyNetQ/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EasyNetQ%2FEasyNetQ/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EasyNetQ%2FEasyNetQ/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EasyNetQ","download_url":"https://codeload.github.com/EasyNetQ/EasyNetQ/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222610036,"owners_count":17011040,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dotnet","dotnet-core","messaging","rabbitmq"],"created_at":"2024-08-01T16:00:51.714Z","updated_at":"2024-11-06T11:31:21.199Z","avatar_url":"https://github.com/EasyNetQ.png","language":"C#","readme":"[![Build status](https://github.com/EasyNetQ/EasyNetQ/workflows/CI/badge.svg)](https://github.com/EasyNetQ/EasyNetQ/actions?query=workflow%3ACI)\n\n[![NuGet Status](https://img.shields.io/nuget/v/EasyNetQ)](https://www.nuget.org/packages/EasyNetQ)\n[![Nuget Status](https://img.shields.io/nuget/vpre/EasyNetQ)](https://www.nuget.org/packages/EasyNetQ/absoluteLatest)\n[![Nuget Status](https://img.shields.io/nuget/dt/EasyNetQ)](https://www.nuget.org/packages/EasyNetQ)\n\n![Activity](https://img.shields.io/github/commit-activity/w/EasyNetQ/easynetq)\n![Activity](https://img.shields.io/github/commit-activity/m/EasyNetQ/easynetq)\n![Activity](https://img.shields.io/github/commit-activity/y/EasyNetQ/easynetq)\n--\n\n![EasyNetQ Logo](https://github.com/EasyNetQ/EasyNetQ/wiki/images/logo_design_150.png)\n\nA Nice .NET API for RabbitMQ\n\nInitial development was sponsored by travel industry experts [15below](http://15below.com/)\n\n* **[Homepage](http://easynetq.com)**\n* **[Documentation](https://github.com/EasyNetQ/EasyNetQ/wiki/Introduction)**\n* **[NuGet](http://www.nuget.org/packages/EasyNetQ)**\n* **[Discussions](https://github.com/EasyNetQ/EasyNetQ/discussions)**\n* **[~Old Discussion Group~](https://groups.google.com/group/easynetq)**\n\nGoals:\n\n### Important Update\n\nWith the release of EasyNetQ v8, the method for connecting to a RabbitMQ broker has changed. The rest of the API remains unchanged.\n\nTo make working with RabbitMQ on .NET as easy as possible.\n\nTo connect to a RabbitMQ broker in v7...\n```c#\n    var bus = RabbitHutch.CreateBus(\"host=localhost\");\n```\n\nTo connect to a RabbitMQ broker in v8...\n```c#\n    var serviceCollection = new ServiceCollection();\n    serviceCollection.AddEasyNetQ(\"host=localhost\").UseSystemTextJson();\n\n    using var provider = serviceCollection.BuildServiceProvider();\n    var bus = provider.GetRequiredService\u003cIBus\u003e();\n```\n\nTo publish a message...\n```c#\n    await bus.PubSub.PublishAsync(message);\n```\n\nTo publish a message with a 5s delay...\n```c#\n    await bus.Scheduler.FuturePublishAsync(message, TimeSpan.FromSeconds(5));\n```\n\nTo subscribe to a message...\n```c#\n    await bus.PubSub.SubscribeAsync\u003cMyMessage\u003e(\n        \"my_subscription_id\", msg =\u003e Console.WriteLine(msg.Text)\n    );\n\n```\nRemote procedure call...\n```c#\n    var request = new TestRequestMessage {Text = \"Hello from the client! \"};\n    await bus.Rpc.RequestAsync\u003cTestRequestMessage, TestResponseMessage\u003e(request);\n```\n\nRPC server...\n```c#\n    await bus.Rpc.RespondAsync\u003cTestRequestMessage, TestResponseMessage\u003e(request =\u003e\n        new TestResponseMessage{ Text = request.Text + \" all done!\" }\n    );\n```\n\n## Getting started\n\nJust open EasyNetQ.sln in your preferred IDE or code editor and build. All the required dependencies for the solution file to build the software are included.\n\n## Contributors\n\nThanks to all the people who already contributed!\n\n\u003ca href=\"https://github.com/EasyNetQ/EasyNetQ/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contributors-img.web.app/image?repo=EasyNetQ/EasyNetQ\" /\u003e\n\u003c/a\u003e\n","funding_links":[],"categories":["C# #","Event/Message \u0026 Service Bus","Frameworks, Libraries and Tools","Queue","C\\#","队列","Identifiers","Tools and Libraries"],"sub_categories":["Queue and Messaging","GUI - other","Messaging"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEasyNetQ%2FEasyNetQ","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FEasyNetQ%2FEasyNetQ","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEasyNetQ%2FEasyNetQ/lists"}