为什么我的@RabbitListener没有自动创建exchange,queue???
@RabbitListener( bindings = @QueueBinding( value = @Queue(value = "order-queue", durable = "true"), exchange = @Exchange(value = "order-exchange", durable = "true", type = "topic"), key = "order.*" ) )
@RabbitListener( bindings = @QueueBinding( value = @Queue(value = "order-queue", durable = "true"), exchange = @Exchange(value = "order-exchange", durable = "true", type = "topic"), key = "order.*" ) )
2018-10-16
举报