Closed
Description
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.