ActiveMQ

Ubuntu

  • 安装
    wget https://www.apache.org/dist/activemq/5.14.1/apache-activemq-5.14.1-bin.tar.gz
    tar -zxf apache-activemq-5.14.1-bin.tar.gz
    cd apache-activemq-5.14.1/bin/linux-x86-64
    
  • 如有Rabbitmq,则修改端口(其占用了端口5672):nano conf/activemq.xml
  • 启动
    ./activemq start
    ./activemq stop
    
  • 检查
    ./activemq console
    netstat -an | grep 61616
    netstat -an | grep 8161
    netstat -an | grep 5672
    
  • 管理系统
  • console管理:进入bin路径,sh activemq browse xyz // 查看queue xyz

centos

参数

连接字符串

  • tcp://0.0.0.0:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600

端口对应协议

  • 1883:mqtt
  • 5672:amqp
  • 8161:控台
  • 61613:stomp
  • 61614:ws
  • 61616:openwire
wangyaqi.cn all right reserved,powered by Gitbook该文件修订时间: 2020-01-29 16:06:14

results matching ""

    No results matching ""

    results matching ""

      No results matching ""