[Issue] Making message lock release possible #29616
Labels
Component: MessageQueue
Issue: Format is not valid
Gate 1 Failed. Automatic verification of issue format is failed
Priority: P3
May be fixed according to the position in the backlog.
Progress: PR in progress
Reported on 2.3.x
Indicates original Magento version for the Issue report.
Severity: S3
Affects non-critical data or functionality and does not force users to employ a workaround.
Triage: Dev.Experience
Issue related to Developer Experience and needs help with Triage to Confirm or Reject it
Projects
This issue is automatically created based on existing pull request: #26968: Making message lock release possible
Description (*)
Message can't be processed by the same consumer if it was rejected previuosly, beacause message lock is not released.
Example:
If we create dead-letter exchange (so far not possible using xml-s - see related PRs) we want our consumer to process the same message again later. It is not possible, because message is locked in db and we get exception here. It should be released here when message was rejected but it's not, because saving lock process create separate lock object, and one we pass as argument doesn't get populated with id.
I will fix test, as soon as solution will be accepted.
If PR will be accepted, please port to 2.3 as well.
Related Pull Requests
#26966
#26967
Manual testing scenarios (*)
Questions or comments
Contribution checklist (*)
The text was updated successfully, but these errors were encountered: