1、编写配置
# rabbitnq的手动ack消息
spring.rabbitmq.listener.simple.acknowledge-mode=manual
2、业务逻辑中编写channel.basicAck或者channel.basicNack
标签:Ack,---,队列,消息,107,channel From: https://www.cnblogs.com/morehair/p/17135982.html
1、编写配置
# rabbitnq的手动ack消息
spring.rabbitmq.listener.simple.acknowledge-mode=manual
2、业务逻辑中编写channel.basicAck或者channel.basicNack
标签:Ack,---,队列,消息,107,channel From: https://www.cnblogs.com/morehair/p/17135982.html