rabbitmq回调
时间: 2023-10-05 17:07:50 浏览: 74
根据提供的引用内容,rabbitmq回调是指当消息成功投递到RabbitMQ的交换机后,RabbitMQ会自动调用绑定的监听器方法进行消息的处理。在给定的例子中,通过使用@RabbitListener注解绑定了两个监听器方法process和process2,分别监听名为topic.dog和topic.cat的队列。当消息成功投递到相应的队列时,RabbitMQ会回调对应的监听器方法,进行消息的处理。在日志中可以看到相应的回调信息,比如"dog-收到消息"和"cat-收到消息"。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [rabbitmq消息可靠性之消息回调机制](https://blog.csdn.net/qq_41992429/article/details/128666260)[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_1"}}] [.reference_item style="max-width: 50%"]
- *3* [python RabbitMQ 使用详细介绍(小结)](https://download.csdn.net/download/weixin_38734037/13774510)[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_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文