Closed
Description
Description
We have a lot of exchanges/queues and need to create a custom transport for each one using the Symfony\Component\Messenger\Transport\TransportFactoryInterface
. It would be very useful to receive the configured transport name as a parameter to \Symfony\Component\Messenger\Transport\TransportFactoryInterface::createTransport(string $dsn, array $options, SerializerInterface $serializer)
. We could just forward the transport name as an option which does not require a signature change.
The current solution is to manually add the transport name to the options for each transport which is prone to copy-paste errors.