2023-06-19 12:13:30 +02:00
|
|
|
framework:
|
|
|
|
messenger:
|
|
|
|
failure_transport: failed
|
|
|
|
|
|
|
|
transports:
|
|
|
|
# https://symfony.com/doc/current/messenger.html#transport-configuration
|
|
|
|
async:
|
|
|
|
dsn: '%env(MESSENGER_TRANSPORT_DSN)%'
|
2023-06-20 19:14:19 +02:00
|
|
|
# dsn: ~
|
2023-06-19 12:13:30 +02:00
|
|
|
options:
|
|
|
|
use_notify: true
|
|
|
|
check_delayed_interval: 60000
|
|
|
|
retry_strategy:
|
|
|
|
max_retries: 3
|
|
|
|
multiplier: 2
|
|
|
|
failed: 'doctrine://default?queue_name=failed'
|
|
|
|
# sync: 'sync://'
|
|
|
|
|
|
|
|
routing:
|
|
|
|
Symfony\Component\Mailer\Messenger\SendEmailMessage: async
|
|
|
|
Symfony\Component\Notifier\Message\ChatMessage: async
|
|
|
|
Symfony\Component\Notifier\Message\SmsMessage: async
|
|
|
|
|
|
|
|
# Route your messages to the transports
|
|
|
|
# 'App\Message\YourMessage': async
|