This commit is contained in:
Alexey Golubev 2019-05-29 15:34:58 +03:00
parent 3f7630c34c
commit 2a78e2f6fa

@ -147,7 +147,7 @@ update_rabbitmq_setting(){
if [ "${AMQP_SERVER_TYPE}" == "rabbitmq" ]; then if [ "${AMQP_SERVER_TYPE}" == "rabbitmq" ]; then
${JSON} -I -e "if(this.queue===undefined)this.queue={};" ${JSON} -I -e "if(this.queue===undefined)this.queue={};"
${JSON} -I -e "this.queue.type = 'rabbitmq'" ${JSON} -I -e "this.queue.type = 'rabbitmq'"
${JSON} -I -e "this.rabbitmq.url = '${RABBITMQ_SERVER_URL}'" ${JSON} -I -e "this.rabbitmq.url = '${AMQP_SERVER_URL}'"
fi fi
if [ "${AMQP_SERVER_TYPE}" == "activemq" ]; then if [ "${AMQP_SERVER_TYPE}" == "activemq" ]; then