From c34bf7a56a2745ae524bb7b5521b246fc8444a95 Mon Sep 17 00:00:00 2001 From: haoxr <1490493387@qq.com> Date: Mon, 22 Mar 2021 12:30:38 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=AD=BB=E4=BF=A1=E9=98=9F=E5=88=97?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=B3=A8=E9=87=8A=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/youlai/mall/oms/config/RabbitMQConfig.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/config/RabbitMQConfig.java b/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/config/RabbitMQConfig.java index 29cd54221..25862344c 100644 --- a/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/config/RabbitMQConfig.java +++ b/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/config/RabbitMQConfig.java @@ -34,7 +34,7 @@ public class RabbitMQConfig { } /** - * 延时队列 + * 延时队列(超时会通过交换机和路由key转发到死信队列),没有消费者 */ @Bean public Queue delayQueue() { @@ -49,7 +49,7 @@ public class RabbitMQConfig { /** * 延时队列绑定交换机,路由键order.create - * 订单提交时会发送routingKey=order.create.order的消息至exchange,然后会被路由到上面的delayQueue延时队列,延时队列没有消费者,到期后会降消息转发 + * 订单提交时会发送routingKey=order.create.order的消息至exchange,然后会被路由到上面的delayQueue延时队列,延时队列没有消费者,到期后会将消息转发 */ @Bean public Binding delayQueueBinding() {