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

Fix negative acknowledge on a message ID does not work #180

Merged
merged 1 commit into from
Dec 26, 2023

Conversation

BewareMyPower
Copy link
Contributor

Fixes #178

Motivation

#121 introduces a regression that when negative_acknowledge accepts a message ID, the underlying acknowledgeAsync method will be called.

Modifications

Fix the Consumer_negative_acknowledge_message_id method and add the test for negative acknowledging message IDs in test_redelivery_count.

Fixes apache#178

### Motivation

apache#121 introduces a
regression that when `negative_acknowledge` accepts a message ID, the
underlying `acknowledgeAsync` method will be called.

### Modifications

Fix the `Consumer_negative_acknowledge_message_id` method and add the
test for negative acknowledging message IDs in `test_redelivery_count`.
@BewareMyPower BewareMyPower added the bug Something isn't working label Dec 25, 2023
@BewareMyPower BewareMyPower added this to the 3.4.0 milestone Dec 25, 2023
@BewareMyPower BewareMyPower self-assigned this Dec 25, 2023
@BewareMyPower BewareMyPower merged commit b9c7219 into apache:main Dec 26, 2023
7 checks passed
@BewareMyPower BewareMyPower deleted the bewaremypower/ack-msg-id branch December 26, 2023 02:54
RobertIndie pushed a commit that referenced this pull request Dec 26, 2023
Fixes #178

### Motivation

#121 introduces a
regression that when `negative_acknowledge` accepts a message ID, the
underlying `acknowledgeAsync` method will be called.

### Modifications

Fix the `Consumer_negative_acknowledge_message_id` method and add the
test for negative acknowledging message IDs in `test_redelivery_count`.

(cherry picked from commit b9c7219)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Negative acknowledge doesn't work with message_id
3 participants