WIP add config for new messengers

This commit is contained in:
Julie Lenaerts 2025-06-19 20:36:32 +02:00
parent e6cbba8c63
commit f88f1f1859

View File

@ -45,6 +45,27 @@ framework:
auto_setup: false
immediate_email:
dsn: '%env(MESSENGER_TRANSPORT_DSN)%/priority'
options:
queue_name: immediate_notifications
exchange:
name: notifications
type: direct
retry_strategy:
max_retries: 3
delay: 1000
multiplier: 2
daily_email:
dsn: '%env(MESSENGER_TRANSPORT_DSN)%'
options:
queue_name: daily_notifications
exchange:
name: notifications
type: direct
# No automatic consumption - handled by cron job
routing:
# routes added by chill-bundles recipes
'Chill\CalendarBundle\Messenger\Message\CalendarRangeMessage': async
@ -61,6 +82,9 @@ framework:
'Chill\MainBundle\Workflow\Messenger\PostSignatureStateChangeMessage': priority
'Chill\MainBundle\Workflow\Messenger\PostPublicViewMessage': async
'Chill\MainBundle\Service\Workflow\CancelStaleWorkflowMessage': async
'Chill\MainBundle\Notification\Email\SendImmediateNotificationEmailMessage': immediate_email
'Chill\MainBundle\Notification\Email\ScheduleDailyNotificationEmailMessage': daily_email
'Chill\MainBundle\Notification\Email\SendDailyDigestMessage': daily_email
# end of routes added by chill-bundles recipes
# Route your messages to the transports
# 'App\Message\YourMessage': async