Skip to content

[Messenger] Retried message should be acknowledged - NOT rejected #40797

Closed
@amigian74

Description

@amigian74

Symfony version(s) affected: 5.2

Description
If the processing of a message fails but is retried, the message is rejected. However, it should have to be acknowleged. This behavior leads to problems, especially with AMQP. Consider a queue with a dead letter exchange. If one message handling failed, the message is "requeued" in a delay queue but after rejecting it will go into the dead letter exchange. For each retry, the message will be "copied" into the dead letter exchange.

Possible Solution
On retry messages should be acknowledged.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions