123456789101112131415161718 |
- #配置数据源
- spring:
- activemq:
- broker-url: tcp://127.0.0.1:61616
- user: admin
- password: admin
- close-timeout: 15s # 在考虑结束之前等待的时间
- in-memory: true # 默认代理URL是否应该在内存中。如果指定了显式代理,则忽略此值。
- non-blocking-redelivery: false # 是否在回滚回滚消息之前停止消息传递。这意味着当启用此命令时,消息顺序不会被保留。
- send-timeout: 0 # 等待消息发送响应的时间。设置为0等待永远。
- queue-name: active.queue
- topic-name: active.topic.name.model
-
- pool:
- enabled: true
- max-connections: 10 #连接池最大连接数
- idle-timeout: 30000 #空闲的连接过期时间,默认为30秒
|