![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
消息队列
厦门权志龙
记录学习
展开
-
ActiveMQ整合spring
运行activemq服务器这边例子是例子是发送topic消息,topic和queue两种方式的不同就是queue一个消息只能被所有消费者中其中一个接收到,topic消息可以被所有订阅此topic的订阅者消费。provider.xml 发送消息 配置文件,只需要有指定ip,端口,还有topic名字或者queue名字就可以,不必管有没有接收者在线,queue消息会保存到有接受者收到,topic...原创 2018-08-18 21:55:37 · 210 阅读 · 0 评论 -
linux 安装activemq
解压压缩包到/usr/local/服务器打开8161、61616端口访问8161端口原创 2018-12-14 20:36:46 · 123 阅读 · 0 评论 -
ActiveMQ整合Spring 注解方式配置消息提供者和消费者
配置文件太麻烦。2019-4-14项目实测有效引入依赖pom.xml <!-- https://mvnrepository.com/artifact/org.apache.activemq/activemq-all --> <dependency> <groupId>org.apache.activemq<...原创 2019-04-14 15:07:11 · 1050 阅读 · 1 评论