Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport "Fix batch listener error handling" (1.1.x) #1006

Open
wants to merge 2 commits into
base: 1.1.x
Choose a base branch
from

Conversation

onobc
Copy link
Collaborator

@onobc onobc commented Jan 18, 2025

No description provided.

darshimo and others added 2 commits January 18, 2025 14:18
Updates the batch listener error handler code to handle
the case where there is only a single outstanding
message in the batch list when retries are expired.

Fixes spring-projects#998

Signed-off-by: darshimo <[email protected]>
(cherry picked from commit fddc711)
Updates the error handler logic to only use `List.remove`
in the special case when 1 item in batch.

Also adds a test for the special case when 1 item in
batch.

See spring-projects#998

(cherry picked from commit 16e0c9e)
@onobc onobc added the type: bug A general bug label Jan 18, 2025
@onobc onobc added this to the 1.1.8 milestone Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants