From d11db62de1863a3a1b33128cae8a1387b2b38e4d Mon Sep 17 00:00:00 2001 From: wulin Date: Tue, 5 Dec 2023 14:23:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96user=E7=9A=84=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/bootstrap-dev.yml | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/iot-modules/iot-box-user-api/src/main/resources/bootstrap-dev.yml b/iot-modules/iot-box-user-api/src/main/resources/bootstrap-dev.yml index 87b4e71..e35e3b3 100644 --- a/iot-modules/iot-box-user-api/src/main/resources/bootstrap-dev.yml +++ b/iot-modules/iot-box-user-api/src/main/resources/bootstrap-dev.yml @@ -31,6 +31,30 @@ spring: #url: r2dbc:h2:file:///./data/h2db/jetlinks username: root password: 123456 + rabbitmq: + host: 192.168.8.146 + port: 31043 + username: admin + password: 123456 + listener: + simple: + # 设置手动ack回复 + acknowledge-mode: manual + retry: + # 开启重试机制 + enabled: true + # 重试次数 + max-attempts: 3 + # 重试最大间隔时间 + max-interval: 100000 + # 重试初始间隔时间 + initial-interval: 100 + # 间隔时间因子 + multiplier: 20 + #设置消息发送回调 + publisher-returns: true + publisher-confirm-type: simple + virtual-host: /iot redis: # cluster: # nodes: