Przeglądaj źródła

iots 测试环境配置调整

yf_zn 8 miesięcy temu
rodzic
commit
456aa90d9b
1 zmienionych plików z 11 dodań i 0 usunięć
  1. 11 0
      src/main/resources/application-test.yml

+ 11 - 0
src/main/resources/application-test.yml

@@ -134,11 +134,22 @@ spring:
       # 热部署开关
       enabled: true
   rabbitmq:
+    # 在物联网系统中 agmp 是 iotm 和 iots 之间通信使用
     agmp:
       host: localhost
       port: 5672
       username: user
       password: 123456
+      virtual-host: /agmp-saas-iot
+      connection-timeout: 15000
+      publisher-returns: true
+      enabled: true
+  # 物联网与门户之间使用
+    agmpIot:
+      host: localhost
+      port: 5672
+      username: user
+      password: 123456
       virtual-host: /agmp-saas
       connection-timeout: 15000
       publisher-returns: true