yf_zn 8 месяцев назад
Родитель
Сommit
456aa90d9b
1 измененных файлов с 11 добавлено и 0 удалено
  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