#!/bin/bash
cd /usr/lib/rabbitmq/lib/rabbitmq_server-3.6.0/plugins/
scp root@192.168.4.15:/usr/lib/rabbitmq/lib/rabbitmq_server-3.6.0/plugins/rabbitmq_delayed_message_exchange-0.0.1.ez .
/usr/lib/bin/rabbitmq-plugins enable rabbitmq_delayed_message_exchange
sh /home/qa-deploy-utils/qa_shell_script/rabbitmq/restart_mq.sh