Skip to content

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

Merged
BewareMyPower merged 1 commit into
apache:mainfrom
BewareMyPower:bewaremypower/ack-msg-id
Dec 26, 2023
Merged

Fix negative acknowledge on a message ID does not work#180
BewareMyPower merged 1 commit into
apache:mainfrom
BewareMyPower:bewaremypower/ack-msg-id

Conversation

@BewareMyPower

Copy link
Copy Markdown
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
@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

3 participants