[HIGH] BUG:MQ 监听器 catch Exception 后消息被 AUTO ACK 静默丢弃 #14
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
严重度:🟠 HIGH
ProductStockWarningStockChangeListener.java:106,143在@RabbitListener中catch(Exception){log.error()}后,因 AUTO ACK 模式消息被确认丢弃。修复: 改为 MANUAL ACK,异常时拒绝消息并放入死信队列