test方法

This commit is contained in:
Guoqs
2024-11-29 15:21:14 +08:00
parent 6af29eed56
commit 7a70db75ac
5 changed files with 18 additions and 7 deletions

View File

@@ -36,6 +36,6 @@ public class OrderRabbitListener {
// }
//由于配置设置了手动应答所以这里要进行一个手动应答。注意如果设置了自动应答这里又进行手动应答会出现double ack那么程序会报错。
channel.basicAck(message.getMessageProperties().getDeliveryTag(),false);
// channel.basicAck(message.getMessageProperties().getDeliveryTag(),false);
}
}