Skip to content

Listener container properties for batch receive. #118

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

Merged
merged 1 commit into from
Sep 16, 2022

Conversation

sobychacko
Copy link
Collaborator

Acknowledgment API cleanup.

@@ -360,6 +360,11 @@ else if (this.listener != null) {
else if (this.containerProperties.getAckMode() == AckMode.BATCH) {
this.nackableMessages.add(message.getMessageId());
}
else {
throw new IllegalStateException(
"Exception occurred and not negatively acknowledged or handled properly",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is there any action we can recommend for the user to take in this case? I guess, what is the outcome in this case (data loss?)

Copy link
Collaborator

@onobc onobc left a comment

Choose a reason for hiding this comment

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

@sobychacko I requested some minor changes around config props name/type/docs.

@onobc
Copy link
Collaborator

onobc commented Sep 16, 2022

Closed via eef1616

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.

2 participants