First step to async generation [WIP]

This commit is contained in:
2025-02-20 14:33:50 +01:00
parent 732b7dc8f7
commit 057c34610d
20 changed files with 489 additions and 41 deletions

View File

@@ -5,6 +5,10 @@ framework:
# Uncomment this (and the failed transport below) to send failed messages to this transport for later handling.
failure_transport: failed
buses:
messenger.bus.default:
middleware:
- 'Chill\MainBundle\Messenger\Middleware\AuthenticationMiddleware'
transports:
# those transports are added by chill-bundles recipes
@@ -19,7 +23,9 @@ framework:
async: ~
auto_setup: true
priority: '%env(MESSENGER_TRANSPORT_DSN)%/priority'
priority:
dsn: '%env(MESSENGER_TRANSPORT_DSN)%/priority'
# end of transports added by chill-bundles recipes
# https://symfony.com/doc/current/messenger.html#transport-configuration
failed: 'doctrine://default?queue_name=failed'
@@ -61,6 +67,7 @@ framework:
'Chill\MainBundle\Workflow\Messenger\PostSignatureStateChangeMessage': priority
'Chill\MainBundle\Workflow\Messenger\PostPublicViewMessage': async
'Chill\MainBundle\Service\Workflow\CancelStaleWorkflowMessage': async
'Chill\MainBundle\Export\Messenger\ExportRequestGenerationMessage': priority
# end of routes added by chill-bundles recipes
# Route your messages to the transports
# 'App\Message\YourMessage': async