RabbitMQ
2017-01-10 18:52:42 0 举报
RabbitMQ是一个开源的消息代理和队列服务器,用于通过轻量级的消息传递协议在分布式系统中存储和转发消息。它基于AMQP(高级消息队列协议)标准,提供了可靠的消息传递、路由、持久化、安全性和高可用性等功能。RabbitMQ支持多种编程语言和平台,包括Java、Python、.NET等,可以广泛应用于企业应用、微服务架构、大数据处理等领域。RabbitMQ的主要组件包括生产者、消费者、交换机、队列和绑定等,它们共同构成了一个完整的消息传递系统。通过使用RabbitMQ,开发者可以轻松实现异步通信、解耦业务逻辑、提高系统可扩展性和可靠性等目标。
作者其他创作
大纲/内容
3 listener Queue channel
1 declare queue
B2
RoutingKey
2 binding Exchange And Queuewith a \"bindingKey\"like: \"*.topic.*\"
R1
msg.log.a
binding
Queue2
2 send msg to Exchange with a \"routingKey\" like: \"ms.topic.a\"
R2
B1
RoutingKeycan use some stringlkey xxx.xxx.xxxcan not use * and #
#.a
BindingKey
R3
msg.topic.a
Rn
Send client
(routingKey match BindingKey?)
B3
*.topic.*
BindingKeycan use * and #* match one# match all
Bn
Send Example
Receive client
1 declare Exchange(TYPE)
Queue1
1. declare Exchange(type)channel.exchangeDeclare(\"Exchange1\
Queue3
Exchange1(topic)
0 条评论
下一页