rabbitmq死信
时间: 2023-09-10 15:10:34 浏览: 110
rabbitMQ 死信队列 完整例子
RabbitMQ的死信(Dead Letter)是指当消息无法被消费或被拒绝时,将消息发送到一个特定的队列中的机制。这个特定的队列被称为死信队列。引用中提到了Spring RabbitMQ死信机制的原理和实例,可以提供一些参考学习的价值。引用中也给出了一些应用场景,比如保证订单业务的消息数据不丢失,或者在商城中,用户下单成功但在指定时间内未支付时自动失效。而死信的来源主要有三种情况:消息的TTL过期,队列达到最大长度,消息被拒绝并且不再重新入队。可以根据这些来源来设计和应用死信机制。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [RabbitMQ中的死信及死信队列详解](https://blog.csdn.net/qq_41865652/article/details/123311813)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [Spring RabbitMQ死信机制原理实例详解](https://download.csdn.net/download/weixin_38500948/12742891)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [RabbitMQ 死信队列详解](https://blog.csdn.net/dingd1234/article/details/125024880)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文