沙钢智慧能源系统后端代码
dongyukun
2025-02-13 71ffca01f72540bcabc792c22c3daa74ce2eddc8
shasteel-biz/src/main/java/com/iailab/module/shasteel/mq/config/QueuePredictFinishConfig.java
@@ -18,7 +18,9 @@
    // 队列名称
    public final static String QUEUE_NAME = "IaiabFastShateel.Model.PredictFinish";
    public final static String QUEUE_NAME_Elec = "IaiabFastShateel.Model.PredictFinish.Elec";
    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() {
@@ -27,7 +29,12 @@
    @Bean
    public Queue predictFinishQueueElec() {
        return new Queue(QueuePredictFinishConfig.QUEUE_NAME_Elec);
        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);
    }
}