Commit 32f22a6
GH-3418: Warn on ack failure in the
Fixes: #3418
The message could be ack'ed in the error handler without any evidence and clue
for the `AbstractAdaptableMessageListener` to determine what to do with afterward.
* Use `logger.warn()` instead of `error` in the `AbstractAdaptableMessageListener.basicAck()`
when `channel.basicAck()` fails for the provided message, which, essentially, might be already
acke'ed this or other way in the user's error handler
(cherry picked from commit b7f773a)AbstractAdaptableMessageListener
1 parent 7c239fb commit 32f22a6
1 file changed
Lines changed: 1 addition & 1 deletion
File tree
- spring-rabbit/src/main/java/org/springframework/amqp/rabbit/listener/adapter
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
453 | 453 | | |
454 | 454 | | |
455 | 455 | | |
456 | | - | |
| 456 | + | |
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
| |||
0 commit comments