From a9a0b2e5a938cef395ddac30a9657bd4e87e332d Mon Sep 17 00:00:00 2001
From: shenyijian <1178253012@qq.com>
Date: Thu, 30 Nov 2023 11:38:10 +0800
Subject: [PATCH] 无人机 -接收所有主题消息

---
 src/main/resources/application.yml |   19 +++++++++++--------
 1 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 520093d..b5e3c7a 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -37,18 +37,20 @@
     multipart:
       max-file-size: 2GB
       max-request-size: 2GB
-#  rabbitmq:
-#    host: 182.106.212.58
-#    port: 35672
-#    username: root
-#    password: root
-#    virtualHost: /
+  rabbitmq:
+    host: 182.106.212.58
+    port: 35672
+    username: root
+    password: root
+    virtualHost: /
+    is-open: true
 #  rabbitmq:
 #    host: localhost
 #    port: 5672
 #    username: guest
 #    password: guest
 #    virtualHost: /
+#    is-open: true
 
 jwt:
   issuer: DJI
@@ -73,8 +75,8 @@
     # If the protocol is ws/wss, this value is required.
     path:
     # 最初连接到mqtt时需要订阅的主题 多个订阅用 "," .
-    inbound-topic: sys/product/+/status,thing/product/+/requests,thing/product/+/osd
-#    inbound-topic: sys/product/+/+,thing/product/+/+
+#    inbound-topic: sys/product/+/status,thing/product/+/requests,thing/product/+/osd
+    inbound-topic: sys/product/+/+,thing/product/+/+
   DRC:
     protocol: WS # @see com.dji.sample.component.mqtt.model.MqttProtocolEnum
     host: 182.106.212.58
@@ -135,6 +137,7 @@
 #  access-key: admin
 #  secret-key: 12345678
   endpoint: http://dev.jxpskj.com:9000
+  external-endpoint: http://dev.jxpskj.com:9000
 #  endpoint: https://dev.jxpskj.com:8026
   access-key: pskj
   secret-key: pskj@2021

--
Gitblit v1.9.3