Commit f9962e8d1aa6021997e5932f1a1426a6b1eb65f7
1 parent
7a89e37a
调整mq配置
Showing
1 changed file
with
1 additions
and
0 deletions
user-service.yml
| ... | ... | @@ -39,6 +39,7 @@ spring: |
| 39 | 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 | 40 | inMemory: true |
| 41 | 41 | pool: |
| 42 | + enabled: true | |
| 42 | 43 | max-connections: 5 |
| 43 | 44 | idle-timeout: 30000 |
| 44 | 45 | expiry-timeout: 0 | ... | ... |