首先感谢博主# 是guava不是瓜娃啊的博客https://blog.youkuaiyun.com/eumenides_/article/details/91850332
连接池依赖如下:
使用springboot2.0+及以下版本时候,maven配置依赖是:
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-pool</artifactId>
</dependency>
使用springboot2.1+时候,maven配置依赖是:
<dependency>
<groupId>org.messaginghub</groupId>
<artifactId>pooled-jms</artifactId>
</dependency>