[HIGH] BUG:MQ 监听器 catch Exception 后消息被 AUTO ACK 静默丢弃 #14

Open
opened 2026-06-13 20:23:58 +08:00 by zdh · 0 comments
Owner

严重度:🟠 HIGH

ProductStockWarningStockChangeListener.java:106,143@RabbitListenercatch(Exception){log.error()} 后,因 AUTO ACK 模式消息被确认丢弃。

修复: 改为 MANUAL ACK,异常时拒绝消息并放入死信队列

## 严重度:🟠 HIGH `ProductStockWarningStockChangeListener.java:106,143` 在 `@RabbitListener` 中 `catch(Exception){log.error()}` 后,因 AUTO ACK 模式消息被确认丢弃。 **修复:** 改为 MANUAL ACK,异常时拒绝消息并放入死信队列
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: yueqian/yueqian-erp#14