8000 [Messenger] failure transport & transport-handler config aren't compat · Issue #31413 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
[Messenger] failure transport & transport-handler config aren't compat #31413
Closed
@weaverryan

Description

@weaverryan

Symfony version(s) affected: master (4.3)

Description
If you use the failure_transport and the handler-transport config from #30958, when your message is retried, the incorrect handlers will be called, because the message is being received from your failure transport, not your original transport.

Possible Solution
On retry, we need to fake that the message is being "received" from the original transport.
We did that in a closed PR - https://github.com/symfony/symfony/pull/31397/files#diff-175bbd25e63243b84fc3efa64fdfb553R58 - which can be used for guidance.

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

      0