RabbitMQ Exchange类型

摘抄自 Spring in Action 5th。

Default—A special exchange that’s automatically created by the broker. It routes messages to queues whose name is the same as the message’s routing key. All queues will automatically be bound to the default exchange.
Direct—Routes messages to a queue whose binding key is the same as the message’s routing key.
Topic—Routes a message to one or more queues where the binding key (which may contain wildcards) matches the message’s routing key.
Fanout—Routes messages to all bound queues without regard for binding keys or routing keys.
Headers—Similar to a topic exchange, except that routing is based on message header values rather than routing keys.
Dead letter—A catch-all for any messages that are undeliverable (meaning they don’t match any defined exchange-to-queue binding).

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值