慕粉4283387
2018-10-16 17:54
@RabbitListener( bindings = @QueueBinding( value = @Queue(value = "order-queue", durable = "true"), exchange = @Exchange(value = "order-exchange", durable = "true", type = "topic"), key = "order.*" ) )
springboot的启动入口放错位置了,应该放在项目外,多了一层包结构,导致创建,监听,消费等一系列操作失败
RabbitMQ消息中间件极速入门与实战
42102 学习 · 143 问题
相似问题