Closed
Description
Symfony version(s) affected: >= 5.0
Description
Since the FailoverTransport
extends the RoundRobinTransport
where the next transport is randomly chosen, this behaviour also applies when configuring failover when sending chat or text messages. The expected behaviour would be: The first transport is always used unless sending fails.
How to reproduce
Configure failover transports as stated in the docs: https://symfony.com/doc/current/notifier.html#configure-to-use-failover-or-round-robin-transports
Possible Solution
Apply a similar fix as for the Mailer failover transport in #37611