Commit 2a49a335 by 周杭

去掉监听

1 parent 0707d33b
......@@ -18,7 +18,7 @@ public class DirectReceiver {
log.info("test-queue消费-----------{}",testMessage);
}
@RabbitListener(queues = RabbitConfig.BURYING_POINT_QUEUE)//监听的队列名称
@RabbitListener(queues = "")//监听的队列名称
public void buryingPointListener(Message message, Channel channel) throws IOException {
try {
log.info("burying_point_queue消费-----------{}",new String(message.getBody()));
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!