From d92c3113a9c69473fb5139e63df393a644dafd0f Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期二, 24 十二月 2024 17:01:05 +0800 Subject: [PATCH] 执行模块预测定时任务 --- shasteel-biz/src/main/java/com/iailab/module/shasteel/mq/config/QueuePredictFinishConfig.java | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/shasteel-biz/src/main/java/com/iailab/module/shasteel/mq/config/QueuePredictFinishConfig.java b/shasteel-biz/src/main/java/com/iailab/module/shasteel/mq/config/QueuePredictFinishConfig.java index 96f2350..334bdd7 100644 --- a/shasteel-biz/src/main/java/com/iailab/module/shasteel/mq/config/QueuePredictFinishConfig.java +++ b/shasteel-biz/src/main/java/com/iailab/module/shasteel/mq/config/QueuePredictFinishConfig.java @@ -1,7 +1,6 @@ package com.iailab.module.shasteel.mq.config; -import com.iailab.module.shasteel.mq.common.RoutingConstant; -import com.iailab.module.shasteel.mq.consumer.PredictFinishMessage; +import com.iailab.module.shasteel.mq.common.constant.RoutingConstant; import org.springframework.amqp.core.Binding; import org.springframework.amqp.core.BindingBuilder; import org.springframework.amqp.core.Queue; @@ -26,7 +25,7 @@ @Bean TopicExchange predictFinishExchange() { - return new TopicExchange(PredictFinishMessage.EXCHANGE); + return new TopicExchange(RoutingConstant.EXCHANGE); } // 注意通配符*和#的用法 -- Gitblit v1.9.3