Commit 60909e5b327fc84c6e2a4db1dcea296c240021a7
1 parent
6610054e
调整配置
Showing
1 changed file
with
1 additions
and
0 deletions
user-service.yml
| ... | ... | @@ -38,6 +38,7 @@ spring: |
| 38 | 38 | activemq: |
| 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 | pool: |
| 41 | + enabled: true | |
| 41 | 42 | max-connections: 5 |
| 42 | 43 | idle-timeout: 30000 |
| 43 | 44 | expiry-timeout: 0 | ... | ... |