Commit 4d6fddfc authored by kalvin's avatar kalvin

新 rabbitmq镜像

parent 8173ae34
......@@ -22,10 +22,4 @@ mv /home/quant_group/rabbitmq/rabbitmq_delayed_message_exchange-0.0.1.ez /usr/li
echo "rabbitmq-plugins enable rabbitmq_delayed_message_exchange"
rabbitmq-plugins enable rabbitmq_delayed_message_exchange
echo "get definitions from 172.16.1.231"
response=$(curl -X GET -H "Authorization: Basic cmFiYml0X2FkbWluOmFiYzEyMzQ=" "http://172.16.1.231:15672/api/definitions")
curl -X POST -H "Content-Type: application/json" -H "Authorization: Basic cWE6cWF0ZXN0" -d $response "http://localhost:15672/api/definitions"
tail -f /tmp/rabbitmq.out
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment