Commit 4cf056c
GH-3247: Fix MANUAL ack for
Fixes: #3247
When `MANUAL` ack mode and `RabbitListenerErrorHandler` returns `null`,
the message is not acknowledged.
* Fix `MessagingMessageListenerAdapter.handleException()`
to call `basicAck(amqpMessage, channel);` when `isManualAck()`
(cherry picked from commit c6519b2)null from error handler1 parent de348f6 commit 4cf056c
File tree
1 file changed
+4
-1
lines changed- spring-rabbit/src/main/java/org/springframework/amqp/rabbit/listener/adapter
1 file changed
+4
-1
lines changedLines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
195 | 198 | | |
196 | 199 | | |
197 | 200 | | |
| |||
0 commit comments