| | |
| | | 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; |
| | |
| | | |
| | | @Bean |
| | | TopicExchange predictFinishExchange() { |
| | | return new TopicExchange(PredictFinishMessage.EXCHANGE); |
| | | return new TopicExchange(RoutingConstant.EXCHANGE); |
| | | } |
| | | |
| | | // 注意通配符*和#的用法 |