Browse Source

新增activemq配置文件属性

linzhiwei 4 years ago
parent
commit
5fdaa32ef5
1 changed files with 50 additions and 0 deletions
  1. 50 0
      nacos-1.3.0/distribution/conf/schema.sql

+ 50 - 0
nacos-1.3.0/distribution/conf/schema.sql

@@ -858,3 +858,53 @@ xxl:
     'yaml',
     null
   );
+INSERT INTO
+  NACOS.CONFIG_INFO (
+    DATA_ID,
+    GROUP_ID,
+    TENANT_ID,
+    APP_NAME,
+    CONTENT,
+    GMT_CREATE,
+    GMT_MODIFIED,
+    SRC_USER,
+    SRC_IP,
+    C_DESC,
+    C_USE,
+    EFFECT,
+    TYPE,
+    C_SCHEMA
+  )
+VALUES
+  (
+    'public_config_activemq.yaml',
+    'DEFAULT_GROUP',
+    'tofly-dyrq',
+    '',
+    '
+spring:
+  activemq:
+    broker-url: tcp://tofly-activemq:61616
+    user: admin
+    password: admin
+    close-timeout: 15s   # 在考虑结束之前等待的时间
+    in-memory: true      # 默认代理URL是否应该在内存中。如果指定了显式代理,则忽略此值。
+    non-blocking-redelivery: false  # 是否在回滚回滚消息之前停止消息传递。这意味着当启用此命令时,消息顺序不会被保留。
+    send-timeout: 0     # 等待消息发送响应的时间。设置为0等待永远。
+    pool:
+      enabled: true
+      max-connections: 10   #连接池最大连接数
+      idle-timeout: 30000   #空闲的连接过期时间,默认为30秒
+#  jms:
+#    pub-sub-domain: true  #默认情况下activemq提供的是queue模式,若要使用topic模式需要配置
+	',
+    '2020-10-28 10:53:33.082000000',
+    '2020-10-28 10:53:33.082000000',
+    null,
+    '0:0:0:0:0:0:0:1',
+    null,
+    null,
+    null,
+    'yaml',
+    null
+  );