shasteel-biz/src/main/java/com/iailab/module/shasteel/mq/config/TopicPredictFinishRabbitConfig.java
@@ -23,15 +23,14 @@ return new Queue(TopicPredictFinishRabbitConfig.routingPredictFinish); } @Bean TopicExchange exchange() { TopicExchange predictFinishExchange() { return new TopicExchange(PredictFinishMessage.EXCHANGE); } // 注意通配符*和#的用法 @Bean Binding bindingExchangeMessageDH() { return BindingBuilder.bind(predictFinishQueue()).to(exchange()).with(routingPredictFinish); Binding bindingExchangeMessagePF() { return BindingBuilder.bind(predictFinishQueue()).to(predictFinishExchange()).with(routingPredictFinish); } }