RabbitMQ在.NET上的领先客户端API:EasyNetQ

jopen 11年前

EasyNetQ是RabbitMQ在.NET上的领先客户端API。RabbitMQ是一个消息队列的实现,基于AMQPAdvanced Message Queuing Protocol).用erlang语言开发。

To connect to a RabbitMQ broker...

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

To publish...

 bus.Publish(message);            

To subscribe...

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

项目主页:http://www.open-open.com/lib/view/home/1387934138203