View on GitHub

EasyNetQ

An easy .NET API for RabbitMQ

Download this project as a .zip file Download this project as a tar.gz file

EasyNetQ is the leading client API for RabbitMQ on .NET. It is an open source project sponsored by 15below the travel industry experts. You can read how 15below uses RabbitMQ and EasyNetQ on the VMWare blog: .NET + RabbitMQ: Scales to 100s of Millions of Passenger Messages at 15below

Easy to use

We designed EasyNetQ to be as simple as possible. Get started publishing and subscribing with RabbitMQ with just a few lines of code:

To connect to a RabbitMQ broker...


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

To publish...


using (var publishChannel = bus.OpenPublishChannel())
{
    publishChannel.Publish(message);
}
        

To subscribe...


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

Easy to install

EasyNetQ is on NuGet. To install it, run the following command in the Package Manager Console


PM> Install-Package EasyNetQ
        

Easy to find out more

Full documentation is here. In Portuguese here.

Discussion Group is here.

One more thing

EasyNetQ uses the CodeBetter build server (you can log in as 'guest')

keyboard-centric bug tracker continuous integration server