Skip to content

Conversation

@lhotari
Copy link
Member

@lhotari lhotari commented May 19, 2025

Fixes #210

There was a bug in negative acknowledgement handling when the message handler function throws an exception.
An exception would cause the whole pipeline to be restarted, which is not intended.
The problem was that the message handler function wasn't wrapped with Mono.defer which captures possible exceptions.

This PR adds a test case, javadoc and fixes the issue.

Copy link
Contributor

@cbornet cbornet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lhotari lhotari merged commit 1d71100 into apache:main May 20, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ReactiveMessagePipeline cannot manage negative ack

2 participants