RabbitMQ 开发常识初见

居然忘了自己粗略的研究过RabbitMQ ,但是记忆已被尘封,居然又想研究它了,之前只是蜻蜓点水地看了一下效果,对其特性还没深入研究过,慢慢学习。

RabbitMQ

1.RabbitMQ Server 服务端

1.1系统支持

windows/linux/unix/mac OS

1.2Server下载

http://www.rabbitmq.com/releases/rabbitmq-server/v3.4.2/rabbitmq-server-windows-3.4.2.zip

1.3历史版本

http://www.rabbitmq.com/releases/rabbitmq-server/

1.4资源下载

如果你还没有RabbitMQ,那就访问这里吧:http://www.rabbitmq.com/download.html,在这里你可以更好的把我其特性。

1.5启动Server
命令规则: rabbitmq-server  [-detached]
安装配置完环境变量,创建rabbitmq-server.bat,在文件中输入如下脚本:
rabbitmq-server — detached
执行bat文件 服务器后台进程中运行。
注:如果环境变量已经配好了这些命令都可以在cmd窗口执行。
1.6建立服务
命令规则: rabbitmq-service.bat  [command]
rabbitmq-service.bat文件中输入操作命令:
rabbitmq-service install
启动服务命令:
rabbitmq-service start

服务可以操作的命令有:
help

Display usage information.

install

Install the service. The service will not be started. Subsequent invocations will update the service parameters if relevant environment variables were modified.

remove

Remove the service. If the service is running then it will automatically be stopped before being removed. No files will be deleted as a consequence and rabbitmq-server will remain operable.

start

Start the service. The service must have been correctly installed beforehand.

stop

Stop the service. The service must be running for this command to have any effect.

disable

Disable the service. This is the equivalent of setting the startup type to Disabled using the service control panel.

enable

Enable the service. This is the equivalent of setting the startup type to Automatic using the service control panel.

在执行中bat作为服务可以省掉不写。

2.RabbitMQ 客户端开发

2.1支持客户端语言
Java 、C#/.NET
2.2Maven配置

<dependency>
  <groupId>com.rabbitmq</groupId>
  <artifactId>amqp-client</artifactId>
  <version>3.4.2</version>
</dependency>

2.3Java Client下载

http://www.rabbitmq.com/java-client.html

如果还不知道怎么去安装使用,我这里还有篇文章:http://blog.csdn.net/boonya/article/details/37879739以后有时间再深入研究。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值