MQ下载 官网
Apache ActiveMQ® is the most popular open source, multi-protocol, Java-based message broker. It supports industry standard protocols so users get the benefits of client choices across a broad range of languages and platforms. Connect from clients written in JavaScript, C, C++, Python, .Net, and more. Integrate your multi-platform applications using the ubiquitous AMQP protocol. Exchange messages between your web applications using STOMP over websockets. Manage your IoT devices using MQTT. Support your existing JMS infrastructure and beyond. ActiveMQ offers the power and flexibility to support any messaging use-case.
Apache ActiveMQ®是最流行的开源、多协议、基于Java的消息代理。它支持行业标准协议,因此用户可以在各种语言和平台上获得客户端选择的好处。从用JavaScript、C、C++、Python、.Net等编写的客户端连接。使用无处不在的AMQP协议集成您的多平台应用程序。通过websockets使用STOMP在web应用程序之间交换消息。使用MQTT管理您的物联网设备。支持您现有的JMS基础架构及其他基础架构。ActiveMQ提供了支持任何消息传递用例的强大功能和灵活性。
- MQ那种语言开发
- 安装步骤
- 官网下载 (java8版本建议对应使用mq版本 apache-activemq-5.15.9 )
- 解压安装
- mkdir opt 创建文件夹 mkdir myactivemq
- 解压下载的mq安装包 tar - zxvf apache-activemq-5.15.9-bin.tar.gz
- 移动解压后的安装包移动到单独的文件夹中 cp -r apache-activemq-5.15.9 / myactivemq
- 配置说明
- bin —— 相关的启动关闭命令
- conf —— 配置文件
- data —— 报存的数据
- docs —— 各种文档
- examples —— 案例
- lib —— 包,需要对应的jar包(如果mq想要把存储的消息保存到mysql数据库,那就需要把mysql的驱动包放到该文件夹下,功能扩展)
- 启动mq
- 进入到bin目录
- 输入命令 ./activemq start 回车
- 判断是否启动成功 activemq 默认进程端口是61616 ,输入ps -ef | grep activemq
按照端口61616查询
win客服端 Linux mq服务器 需要互通访问 ping