-
Notifications
You must be signed in to change notification settings - Fork 615
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-2652: Make RabbitListenerErrorHandler aware of Channel
Fixes: #2652 Whenever a `MessageConversionException` occurs, the raw Spring message returned in `RabbitListenerErrorHandler#handleError` is null. Channel information is being stored inside of that raw message, therefore it is not possible to manually nack just failed message * Introduce a new `handleError(Message, Channel, Message<?>, ListenerExecutionFailedException)` contract to make a `Channel` access independent of the `Message<?>` result * Deprecate existing method with the plan to remove in the next version (see #2654)
- Loading branch information
1 parent
d135246
commit 0049ce7
Showing
2 changed files
with
28 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters