标签:com code temp 默认 png template 丢失 发送 lis


1.Queue



测试





使用topic默认存在topic中的数据是不持久化的,如果发送者发送后没有消费者接收消息,这这个消息丢失了。
和发送queue类似


和接收queue类似(可以有多个消费者)



1.加入jar

配置文件:







接收activemq发送过来的数据

3.配置spring监听(初始化监听)










标签:com code temp 默认 png template 丢失 发送 lis
原文地址:https://www.cnblogs.com/txf0324/p/11202566.html