`
zhangdaiscott
  • 浏览: 446619 次
  • 性别: Icon_minigender_1
  • 来自: 北京
博客专栏
8fb25857-16b4-3681-ab5e-e319f45c42a8
Jeecg快速开发平台
浏览量:0
文章分类
社区版块
存档分类

docker安装rabbitmq延时队列插件

阅读更多

docker安装rabbitMQ延时队列插件(delayed_message_exchange)

  • 1. 查找Docker容器中的RabbitMQ镜像

    docker ps -a

 

[root@linux ~]# docker ps -a
CONTAINER ID        IMAGE                    COMMAND                  CREATED             STATUS              PORTS                                                                                        NAMES
8efd6f3add3c        chenchuxin/dubbo-admin   "catalina.sh run"        6 weeks ago         Up 5 weeks          0.0.0.0:9090->8080/tcp                                                                       dubbo-admin
6939b83d0942        zookeeper                "/docker-entrypoint.…"   6 weeks ago         Up 5 weeks                                                                                                       zookeeper01
2aec2548a9f8        525bd2016729             "docker-entrypoint.s…"   6 weeks ago         Up 5 weeks          0.0.0.0:27017->27017/tcp                                                                     docker_mongodb
  • 2.上传rabbitmq_delayed_message_exchange-20171201-3.7.x.ez插件到Linux文件夹中

     下载解压文件  https://download.csdn.net/download/zhangdaiscott/13130449

  • 3.拷贝插件文件到rabbitMQ的Docker容器中

 

[root@linux ~]# docker cp rabbitmq_delayed_message_exchange-20171201-3.7.x.ez rabbitmq3.7.7:/plugins
  • 4.进入rabbitMQ的Docker容器中docker exec -it rabbitmq3.7.7 bash

 

[root@linux ~]# docker exec -it rabbitmq3.7.7 bash
root@myRabbit:/# 
  • 5.查看插件列表 

 

rabbitmq-plugins list
  • 6.启用插件

 

rabbitmq-plugins enable rabbitmq_delayed_message_exchange
 
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics