Closed
Description
Description
Suppose the following config:
framework:
messenger:
transports:
async:
dsn: '%env(MESSENGER_TRANSPORT_DSN)%'
options:
queue_name: high
If MESSENGER_TRANSPORT_DSN
uses the doctrine transport, this is great. But if you're using a different transport (e.g. amqp) then the queue_name
is an invalid option. Currently, no exception is thrown - the option is just silently ignored. I think that all transports should strictly validate the options being passed to it.