Commit 2ffa2eecfcfcdf9a2f581606bc02904a4d3a437a

Authored by 刘岱鹏
1 parent 2d42d49e

调整jms配置

Showing 1 changed file with 10 additions and 0 deletions
user-service.yml
@@ -34,6 +34,16 @@ spring: @@ -34,6 +34,16 @@ spring:
34 sentinel: 34 sentinel:
35 master: mymaster1 35 master: mymaster1
36 nodes: redis-server:16379,redis-server:16379 36 nodes: redis-server:16379,redis-server:16379
  37 + jms:
  38 + brokerUrl: tcp://mqserver:61616
  39 + consumer:
  40 + concurrentConsumers: 5
  41 + maxConcurrentConsumers: 10
  42 + pool:
  43 + maxConnections: 10
  44 + maximumActiveSessionPerConnection: 100
  45 + idleTimeout: 60000
  46 + createConnectionOnStartup: false
37 47
38 mybatis: 48 mybatis:
39 mapperLocations: classpath:/mybatis/*.xml 49 mapperLocations: classpath:/mybatis/*.xml