ActiveMQ消息队列的使用实现
pom.xml文件引入依赖:
<dependency> <groupId>org.apache.activemq</groupId> <artifactId>activemq-all</artifactId> <version>5.9.0</version> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-activemq</artifactId> </dependency>
参考资料链接:
https://www.cnblogs.com/zhuxiaojie/p/5564187.html
https://blog.csdn.net/Cs_hnu_scw/article/details/81040834
发送并同步接收结果:
https://blog.csdn.net/weixin_33851177/article/details/91775505