|
2 | 2 | [](https://travis-ci.org/EasyNetQ/EasyNetQ.Management.Client) |
3 | 3 | ---------- |
4 | 4 |
|
| 5 | +## EasyNetQ.Management.Client |
5 | 6 |
|
6 | | - |
7 | | - |
8 | | -A Nice .NET API for RabbitMQ |
9 | | - |
10 | | -Initial development was sponsored by travel industry experts [15below](http://15below.com/) |
11 | | - |
12 | | -* **[Homepage](http://easynetq.com)** |
13 | | -* **[Documentation](https://github.com/EasyNetQ/EasyNetQ/wiki/Introduction)** |
14 | | -* **[NuGet](http://nuget.org/List/Packages/EasyNetQ)** |
15 | | -* **[Discussion Group](https://groups.google.com/group/easynetq)** |
16 | | - |
17 | | -Goals: |
18 | | - |
19 | | -1. To make working with RabbitMQ on .NET as easy as possible. |
20 | | - |
21 | | -To connect to a RabbitMQ broker... |
22 | | - |
23 | | - var bus = RabbitHutch.CreateBus("host=localhost"); |
24 | | - |
25 | | -To publish a message... |
26 | | - |
27 | | - bus.Publish(message); |
28 | | - |
29 | | -To subscribe to a message... |
30 | | - |
31 | | - bus.Subscribe<MyMessage>("my_subscription_id", msg => Console.WriteLine(msg.Text)); |
32 | | - |
33 | | -Remote procedure call... |
34 | | - |
35 | | - var request = new TestRequestMessage {Text = "Hello from the client! "}; |
36 | | - bus.Request<TestRequestMessage, TestResponseMessage>(request, response => |
37 | | - Console.WriteLine("Got response: '{0}'", response.Text)); |
38 | | - |
39 | | -RPC server... |
40 | | - |
41 | | - bus.Respond<TestRequestMessage, TestResponseMessage>(request => |
42 | | - new TestResponseMessage{ Text = request.Text + " all done!" }); |
43 | | - |
44 | | - |
45 | | -## Management API |
46 | | - |
47 | | -EasyNetQ also has a client-side library for the RabbitMQ Management HTTP API. This lets you control all aspects for your |
| 7 | +EasyNetQ.Management.Client is a .NET client proxy for the RabbitMQ Management API. This lets you control all aspects for your |
48 | 8 | RabbitMQ broker from .NET code, including creating virtual hosts and users; setting permissions; monitoring queues, |
49 | | -connections and channels; and setting up exchanges, queues and bindings. |
| 9 | +connections and channels; and setting up exchanges, queues and bindings. It is part of the [EasyNetQ](http://easynetq.com) project. |
50 | 10 |
|
51 | 11 | See the **[documentation](https://github.com/EasyNetQ/EasyNetQ/wiki/Management-API-Introduction)**. |
52 | 12 |
|
53 | 13 | The annoucement blog post is [here](http://mikehadlow.blogspot.co.uk/2012/11/a-c-net-client-proxy-for-rabbitmq.html) |
54 | | - |
55 | | -## Some blog posts about EasyNetQ ... |
56 | | - |
57 | | -http://mikehadlow.blogspot.co.uk/search/label/EasyNetQ |
58 | | - |
59 | | -## Getting started |
60 | | - |
61 | | -Just open EasyNetQ.sln in VisualStudio 2017 and build. |
62 | | - |
63 | | -All the required dependencies for the solution file to build the software are included. To run the explicit tests that send messages you will have to be running the EasyNetQ.Tests.SimpleService application and have a working local RabbitMQ server (see http://www.rabbitmq.com/ for more details). |
0 commit comments