Administrator
1 days ago d3492864ec22a30e9fcc99b2b174cf6eb9531399
src/main/java/cc/mrbird/febs/common/configure/RabbitConfigure.java
@@ -286,4 +286,20 @@
        return BindingBuilder.bind(knowledgeAddQueue()).to(knowledgeAddExchange()).with(RabbitQueueEnum.KNOWLEDGE_ADD_ALI.getRoute());
    }
    @Bean
    public DirectExchange questionAddExchange() {
        return new DirectExchange(RabbitQueueEnum.QUESTION_ADD_ALI.getExchange());
    }
    @Bean
    public Queue questionAddQueue() {
        return new Queue(RabbitQueueEnum.QUESTION_ADD_ALI.getQueue());
    }
    @Bean
    public Binding questionAddBind() {
        return BindingBuilder.bind(questionAddQueue()).to(questionAddExchange()).with(RabbitQueueEnum.QUESTION_ADD_ALI.getRoute());
    }
}