From 4d505e3fe809c245400ecdb80918cbdb8da80e25 Mon Sep 17 00:00:00 2001
From: dengzedong <dengzedong@email>
Date: 星期六, 18 一月 2025 16:51:27 +0800
Subject: [PATCH] @RabbitListener(queues = QueuePredictFinishConfig.QUEUE_NAME_ELEC)

---
 shasteel-biz/src/main/java/com/iailab/module/shasteel/mq/config/QueuePredictFinishConfig.java |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 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 148bcc4..2aeb1f1 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,6 +1,6 @@
 package com.iailab.module.shasteel.mq.config;
 
-import com.iailab.module.shasteel.mq.common.RoutingConstant;
+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;
@@ -18,9 +18,16 @@
     // 队列名称
     public final static String QUEUE_NAME = "IaiabFastShateel.Model.PredictFinish";
 
+    public final static String QUEUE_NAME_ELEC = "IaiabFastShateel.Model.PredictFinish.Elec";
+
     @Bean
     public Queue predictFinishQueue() {
         return new Queue(QueuePredictFinishConfig.QUEUE_NAME);
+    }
+
+    @Bean
+    public Queue predictFinishQueueElec() {
+        return new Queue(QueuePredictFinishConfig.QUEUE_NAME_ELEC);
     }
 
     @Bean
@@ -33,4 +40,9 @@
     Binding bindingExchangeMessagePF() {
         return BindingBuilder.bind(predictFinishQueue()).to(predictFinishExchange()).with(RoutingConstant.Iailab_Model_PredictFinish);
     }
+
+    @Bean
+    Binding bindingExchangeMessageElec() {
+        return BindingBuilder.bind(predictFinishQueueElec()).to(predictFinishExchange()).with(RoutingConstant.Iailab_Model_PredictFinish_Elec);
+    }
 }

--
Gitblit v1.9.3