2022-12-24 14:40:18 +00:00
|
|
|
framework:
|
|
|
|
messenger:
|
|
|
|
# reset services after consuming messages
|
|
|
|
# reset_on_message: true
|
|
|
|
|
|
|
|
# Uncomment this (and the failed transport below) to send failed messages to this transport for later handling.
|
|
|
|
failure_transport: failed
|
|
|
|
|
|
|
|
transports:
|
|
|
|
# https://symfony.com/doc/current/messenger.html#transport-configuration
|
|
|
|
async: '%env(MESSENGER_TRANSPORT_DSN)%'
|
2023-03-30 16:20:54 +00:00
|
|
|
priority:
|
|
|
|
dsn: '%env(MESSENGER_TRANSPORT_DSN)%'
|
2022-12-24 14:40:18 +00:00
|
|
|
failed: 'doctrine://default?queue_name=failed'
|
|
|
|
# sync: 'sync://'
|
|
|
|
|
|
|
|
routing:
|
|
|
|
# Route your messages to the transports
|
|
|
|
# 'App\Message\YourMessage': async
|