Commit fd833b8f239db73d9203f37e5a9c39291ba861da

Authored by 刘岱鹏
1 parent 2ffa2eec

调整mq配置

Showing 1 changed file with 7 additions and 9 deletions
user-service.yml
... ... @@ -34,16 +34,14 @@ spring:
34 34 sentinel:
35 35 master: mymaster1
36 36 nodes: redis-server:16379,redis-server:16379
37   - jms:
38   - brokerUrl: tcp://mqserver:61616
39   - consumer:
40   - concurrentConsumers: 5
41   - maxConcurrentConsumers: 10
  37 + activemq:
  38 + broker-url: tcp://127.0.0.1:61616
  39 + in-memory: false
42 40 pool:
43   - maxConnections: 10
44   - maximumActiveSessionPerConnection: 100
45   - idleTimeout: 60000
46   - createConnectionOnStartup: false
  41 + enabled: true
  42 + max-connections: 5
  43 + idle-timeout: 30000
  44 + expiry-timeout: 0
47 45  
48 46 mybatis:
49 47 mapperLocations: classpath:/mybatis/*.xml
... ...