springboot中rabbitMQ的使用

一、rabbitMQ有三种类型 direct、topic、fanout三种类型 1:direct类型是交换器和路由key完全匹配进行绑定的 例如: 消费端配置:   消费端代码: @Component @RabbitListener([email protected]( value= @Queue(value="${mq.config.queue.error}",autoDelete="false
相关文章
相关标签/搜索