Reputation: 323
When trying to configure symfony messenger always getting error No transport supports the given Messenger DSN "doctrine://default".
symfony framework: 4.3.4
messenger: 4.3.0
In this application only doctrine-bundle & symfony-messenger is installed.
doctrine:
doctrine:
dbal:
default_connection: default
connections:
default:
schema_filter: '~^(?!messenger_messages)~'
dbname: sftest
host: 127.0.0.1
port: ~
user: root
password: ~
charset: "UTF8"
driver: 'pdo_mysql'
server_version: '5.7'
default_table_options:
charset: utf8mb4
collate: utf8mb4_unicode_ci
messenger:
framework:
messenger:
transports:
async: doctrine://default
routing:
'App\Entity\Notification': async
Upvotes: 4
Views: 7006
Reputation: 323
So the problem was that symfony messenger require doctrine orm, and I only was using symfony dbal.
Upvotes: 4