From 04d276a07f2774c1d9c107822f34233a58802239 Mon Sep 17 00:00:00 2001 From: dongyukun <1208714201@qq.com> Date: 星期四, 13 二月 2025 17:50:47 +0800 Subject: [PATCH] 转炉管网mq --- shasteel-biz/src/main/java/com/iailab/module/shasteel/mq/config/QueuePredictFinishConfig.java | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 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 2aeb1f1..7a779e4 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 @@ -20,6 +20,8 @@ public final static String QUEUE_NAME_ELEC = "IaiabFastShateel.Model.PredictFinish.Elec"; + public final static String QUEUE_NAME_LDG = "IaiabFastShateel.Model.PredictFinish.LDG"; + @Bean public Queue predictFinishQueue() { return new Queue(QueuePredictFinishConfig.QUEUE_NAME); @@ -28,6 +30,11 @@ @Bean public Queue predictFinishQueueElec() { return new Queue(QueuePredictFinishConfig.QUEUE_NAME_ELEC); + } + + @Bean + public Queue predictFinishQueueLDG() { + return new Queue(QueuePredictFinishConfig.QUEUE_NAME_LDG); } @Bean @@ -45,4 +52,9 @@ Binding bindingExchangeMessageElec() { return BindingBuilder.bind(predictFinishQueueElec()).to(predictFinishExchange()).with(RoutingConstant.Iailab_Model_PredictFinish_Elec); } + + @Bean + Binding bindingExchangeMessageLDG() { + return BindingBuilder.bind(predictFinishQueueLDG()).to(predictFinishExchange()).with(RoutingConstant.Iailab_Model_PredictFinish_LDG); + } } -- Gitblit v1.9.3