Skip to content

Conversation

@l4mby
Copy link
Contributor

@l4mby l4mby commented Jul 14, 2025

This PR adds the possibility to descard or requeue with annotations.
In the consumer message handler it will be possible to call context.discard({ "x-annotation": "annotation-value"})
or context.requeue({ "x-annotation": "annotation-value"})

NOTE: this feature requires the latest changes in the rhea package, since there is no release yet, we installed the github version directly

@l4mby l4mby linked an issue Jul 14, 2025 that may be closed by this pull request
@l4mby l4mby marked this pull request as ready for review July 17, 2025 09:06
@l4mby l4mby merged commit 7e8a1a6 into main Jul 17, 2025
4 checks passed
@apietroni51 apietroni51 deleted the 50-as-a-library-user-i-want-to-discard-or-requeue-a-message-with-annotations branch July 17, 2025 09:14
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.

As a library user I want to discard or requeue a message with annotations

3 participants