Commit cb387996656efa859740b8fb9f8959196e1a8304

Authored by 多国蒙
1 parent 614c3aa4

添加mq配置

Showing 1 changed file with 21 additions and 4 deletions
training-service.yml
... ... @@ -134,19 +134,36 @@ spring:
134 134 test-on-borrow: true
135 135 test-while-idle: true
136 136 redis:
137   - database: 0
138   - host: redis-server
139   - port: 6379
140   - password: ENC(8aea42e66b0928c44cd8f861a9d558e6)
141 137 pool:
142 138 max-idle: 100
143 139 min-idle: 10
144 140 max-active: 1000
145 141 max-wait: 100000
  142 +
  143 + redis1:
  144 + database: 0
  145 + host: 192.168.30.100
  146 + port: 6379
  147 + password: 123456
  148 +
  149 + redis2:
  150 + database: 0
  151 + host: 192.168.30.100
  152 + port: 6380
  153 + password: 123456
146 154 #sentinel:
147 155 #master: mymaster1
148 156 #nodes: redis-server:16379,redis-server:16379
149 157  
  158 + activemq:
  159 + 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
  160 + inMemory: true
  161 + pool:
  162 + enabled: true
  163 + max-connections: 5
  164 + idle-timeout: 30000
  165 + expiry-timeout: 0
  166 +
150 167 mybatis:
151 168 mapperLocations: classpath:/mybatis/*.xml
152 169 typeAliasesPackage: com.huike.eaas.microservice.training.domain
... ...