首页 > 其他 > 详细

RabbitMQ 学习笔记

时间:2018-06-22 23:46:47      阅读:326      评论:0      收藏:0      [点我收藏+]
  • 启用后台的教程地址:http://www.rabbitmq.com/management.html 
  • Connections are meant to be long-lived。
  • Channels are also meant to be long-lived but since many recoverable protocol errors will result in channel closure。
  • 工作流程图

技术分享图片

从上图可以看出生产者是不知道队列的,它只是将消息发送到exchange,exchange会和queue进行绑定

  • exchange有多种类型,分别为:direct,fanout,topic等。
    • direct:根据routekey直接发送
    • fanout:向所有exchange知道的queue发送
    • topic:根据主题发送

 

RabbitMQ 学习笔记

原文:https://www.cnblogs.com/taohonggou/p/8985909.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!