2025-10-28 12:09:38 +01:00

43 lines
1.4 KiB
YAML

framework:
messenger:
failure_transport: failed
transports:
# https://symfony.com/doc/current/messenger.html#transport-configuration
async:
dsn: '%env(MESSENGER_TRANSPORT_DSN)%'
retry_strategy:
max_retries: 3
multiplier: 2
rdap_async:
dsn: '%env(MESSENGER_TRANSPORT_DSN)%'
retry_strategy:
delay: 1000
multiplier: 2
max_retries: 10
max_delay: 10000
failed: 'doctrine://default?queue_name=failed'
# sync: 'sync://'
default_bus: messenger.bus.default
buses:
messenger.bus.default: [ ]
routing:
Symfony\Component\Mailer\Messenger\SendEmailMessage: async
Symfony\Component\Notifier\Message\ChatMessage: async
Symfony\Component\Notifier\Message\SmsMessage: async
App\Message\OrderDomain: async
App\Message\DetectDomainChange: async
App\Message\ProcessAllWatchlist: async
App\Message\ProcessWatchlist: async
App\Message\UpdateRdapServers: async
App\Message\ValidateConnectorCredentials: async
App\Message\UpdateDomain: async
# Route your messages to the transports
# 'App\Message\YourMessage': async