Commit 1977b6bc41785bd12f3b017509cda5d0c8dfb9af
1 parent
a2b09609
调整mq配置
Showing
1 changed file
with
1 additions
and
0 deletions
user-service.yml
| @@ -37,6 +37,7 @@ spring: | @@ -37,6 +37,7 @@ spring: | ||
| 37 | 37 | ||
| 38 | activemq: | 38 | activemq: |
| 39 | broker-url: failover:(tcp://mqserver:61616)?initialReconnectDelay=100 #ActiveMQ use static transport for broker clusters. multicast discovery for broker clusters, JmsListener cannot auto receive messages from some ActiveMQ servers | 39 | broker-url: failover:(tcp://mqserver:61616)?initialReconnectDelay=100 #ActiveMQ use static transport for broker clusters. multicast discovery for broker clusters, JmsListener cannot auto receive messages from some ActiveMQ servers |
| 40 | + inMemory: true | ||
| 40 | pool: | 41 | pool: |
| 41 | max-connections: 5 | 42 | max-connections: 5 |
| 42 | idle-timeout: 30000 | 43 | idle-timeout: 30000 |