Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #51508 [Messenger] Fix routing to multiple fallback transports (v…
…altzu) This PR was merged into the 6.3 branch. Discussion ---------- [Messenger] Fix routing to multiple fallback transports | Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | yes | New feature? | no | Deprecations? | no | License | MIT The change made in symfony/symfony#48121 means that it's not possible to route into multiple transport as fallback like ```yaml framework: messenger: routing: My\Message\*: [async, audit] ``` F.e. the message `My\Message\ToBeSentToTwoSenders` would only reach `async`. The comment in the code mentions > if other senders already matched **with previous types**, skip the senders bound to the fallback While in reality how it works is > if other senders already matched, skip the senders bound to the fallback After the changes in this MR it works as mentioned in the original comment, meaning it does not skip for the same type, but routes to all transports for that type. --- This is not a BC break because anyone who has more than one transport in a wildcard rule has never received anything matching the wildcard on other than the 1st transport – so only if you had a misconfiguration in the first place you're affected. Commits ------- 76f2433fa9 Fix routing to multiple fallback transports
- Loading branch information