From 595fe7530ad07ef1725a5b84d0743b87795364d9 Mon Sep 17 00:00:00 2001 From: liuyuanmu Date: Tue, 18 Oct 2022 10:15:13 +0800 Subject: [PATCH] update mq.config --- .../deploy-peer/src/main/resources/config/init/mq/mq.config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/deploy-peer/src/main/resources/config/init/mq/mq.config b/deploy/deploy-peer/src/main/resources/config/init/mq/mq.config index ba8bc254..c282fa3a 100644 --- a/deploy/deploy-peer/src/main/resources/config/init/mq/mq.config +++ b/deploy/deploy-peer/src/main/resources/config/init/mq/mq.config @@ -1,5 +1,5 @@ -# MQ连接地址,格式:{MQ类型}://{IP}:{PORT} -system.msg.queue.server=amqp://127.0.0.1:5672 +# MQ服务URI,格式:{MQ类型前缀}://{MQ URI},当前支持 RabbitMQ(固定第0个节点出块)和ActiveMQ(动态节点出块),前缀分别为:rabbitmq和activemq +system.msg.queue.server=activemq://failover:(tcp://localhost:61616)?initialReconnectDelay=1000&maxReconnectDelay=30000 # 当前账本交易发送队列主题(不同账本需不同主题) system.msg.queue.topic.tx=tx