![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
rabbitMQ
IManiy
即使在搬砖,也要仰望大厦。
展开
-
RabbitMq(四)Springboot 整合RabbitMq应用——消息回调、手动确认
消息回调 消息的回调,其实就是消息确认(生产者推送消息成功,消费这接收消息成功)。 在上篇文章代码中application.yml加入消息确认 rabbitmq_prov_demo server: port: 8021 string: application: name: rabbitmq_prov_demo rabbitmq: host: localhost po...原创 2020-04-12 21:27:38 · 791 阅读 · 0 评论 -
RabbitMq(三)Springboot 整合RabbitMq应用——Direct、Topic、Fanout的使用
开发中一般使用的交换机,分三种 1.Direct Exchange 根据route key 直接找到队列 2.Topic Exchange 根据route key 匹配队列 3.Topic Exchange 不处理route key 全网发送,所有绑定的队列都发送 我们分2个springboot项目,一个 rabbitmq_prov_demo (生产者),一个rabbitmq_cons_demo(...原创 2020-04-12 20:57:40 · 386 阅读 · 1 评论 -
RabbitMq(二)五种队列模式
一、简单队列 消息产生着将消息放入队列 消息的消费者(consumer) 监听(while) 消息队列,如果队列中有消息,就消费掉,消息被拿走后,自动从队列中删除(隐患 消息可能没有被消费者正确处理,已经从队列中消失了,造成消息的丢失)应用场景:聊天(中间有一个过度的服务器;p端,c端) 生产者 //生产者推送消息到队列 public class PubEmail { //将对象序列...原创 2020-04-11 23:01:37 · 249 阅读 · 0 评论 -
RabbitMq(一)可视化页面相关——Applying plugin configuration to rabbit@hj... failed.文件解决方案
体现 当执行:rabbitmq-plugins.bat enable rabbitmq_management 命令时候出现 错误如下: Plugin configuration unchanged. Applying plugin configuration to rabbit@hj… failed. Could not contact node rabbit@hj. Changes will t...原创 2020-04-10 13:06:56 · 3762 阅读 · 1 评论