Skip to content

[Messenger] RejectRedeliveredMessageException should not be retried #51756

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 30, 2023

Conversation

nikophil
Copy link
Contributor

Q A
Branch? 6.4
Bug fix? no
New feature? yes
Deprecations? no
License MIT
Doc PR I think it is not needed

Hello,

when a RejectRedeliveredMessageException is thrown once, it is actually retried because it does not implement UnrecoverableExceptionInterface but we know it will always because the stamp AmqpReceivedStamp will always be there

@nicolas-grekas nicolas-grekas force-pushed the feat/no-retry-reject-delivered-message branch from cdd715c to 67790f3 Compare September 29, 2023 19:56
nicolas-grekas
nicolas-grekas approved these changes Sep 29, 2023
@fabpot
Copy link
Member

fabpot commented Sep 30, 2023

Thank you @nikophil.

@fabpot fabpot merged commit 5872615 into symfony:6.4 Sep 30, 2023
This was referenced Oct 21, 2023
nicolas-grekas added a commit that referenced this pull request Mar 12, 2024
…ry (nikophil)

This PR was merged into the 6.4 branch.

Discussion
----------

[Messenger] trigger retry logic when message is a redelivery

| Q             | A
| ------------- | ---
| Branch?       | 6.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Issues        | Fix #52903 #53311
| License       | MIT

This PR rollbacks #51756 which was an error

ping `@itcodeOstrowski` `@beermeat`

Commits
-------

e397200 [Messenger] trigger retry logic when message is a redelivery
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants