mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-01 22:46:13 +00:00
WIP add config for new messengers
This commit is contained in:
parent
e6cbba8c63
commit
f88f1f1859
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user