From cad7c0c53d8ec51633e9cd188a916947243fb14e Mon Sep 17 00:00:00 2001 From: Mathieu Jaumotte Date: Thu, 30 Mar 2023 18:20:54 +0200 Subject: [PATCH] Feature: [messenger] Update config for messenger to handle document generation --- config/packages/messenger.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/packages/messenger.yaml b/config/packages/messenger.yaml index 3230d7f..574d024 100644 --- a/config/packages/messenger.yaml +++ b/config/packages/messenger.yaml @@ -9,6 +9,8 @@ framework: transports: # https://symfony.com/doc/current/messenger.html#transport-configuration async: '%env(MESSENGER_TRANSPORT_DSN)%' + priority: + dsn: '%env(MESSENGER_TRANSPORT_DSN)%' failed: 'doctrine://default?queue_name=failed' # sync: 'sync://' @@ -22,3 +24,4 @@ framework: 'Chill\CalendarBundle\Messenger\Message\InviteUpdateMessage': async 'Chill\CalendarBundle\Messenger\Message\MSGraphChangeNotificationMessage': async 'Chill\MainBundle\Service\ShortMessage\ShortMessage': async + 'Chill\DocGeneratorBundle\Service\Messenger\RequestGenerationMessage': priority