springboot中rabbitMQ的使用

一、rabbitMQ有三種類型 direct、topic、fanout三種類型 1:direct類型是交換器和路由key完全匹配進行綁定的 例如: 消費端配置:   消費端代碼: @Component @RabbitListener([email protected]( value= @Queue(value="${mq.config.queue.error}",autoDelete="false
相關文章
相關標籤/搜索