参考文献:http://www.cnblogs.com/ok123/p/3951884.html
RabbitMQ 是用erlang写的,先要下载erlang解释器并配置系统运行环境,erlang下载地址:http://www.erlang.org/download.html
下载完成安装即可,建议不要安装到系统盘符,还有,记得要进行环境配置。
安装完成以后,安全rabbitmq,windows安装程序下载地址:http://www.rabbitmq.com/install-windows.html
注意看此页面下面的相关介绍,对于rabbitmq安装完以后的服务启动和相关配置,下面只摘录小部分:
Run RabbitMQ Service
-
Customise RabbitMQ Environment Variables
-
The service will run fine using its default settings. You may want to customise the RabbitMQ environment or edit configuration.
Run RabbitMQ
-
The RabbitMQ service starts automatically. You can stop/reinstall/start the RabbitMQ service from the Start Menu.
Manage the Service
-
You can find links to RabbitMQ directories in the Start Menu.
There is also a link to a command prompt window that will start in the sbin dir, in the Start Menu. This is the most convenient way to run the various command line tools.
Windows-specific Issues
We aim to make RabbitMQ a first-class citizen on Windows. However, sometimes there are circumstances beyond our control. Please consult the Windows-specific Issues page.
RabbitMQ的.NET开发包EasyNetQ,开源地址:https://github.com/EasyNetQ/EasyNetQ
示例代码:
var bus = RabbitHutch.CreateRabbitBus("localhost");
var message = new MyMessage {Text = "Hello!"};
bus.Publish(message);
相关AIP请参阅:
See the
documentation
.
相关资料供各位道友一起学习:
http://www.cnblogs.com/shanyou/archive/2012/10/27/2742979.html