mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-26 18:47:43 +00:00
change messenger configuration
This commit is contained in:
parent
912f7d3211
commit
d6ff3f422f
@ -5,9 +5,10 @@ framework:
|
|||||||
|
|
||||||
transports:
|
transports:
|
||||||
# https://symfony.com/doc/current/messenger.html#transport-configuration
|
# https://symfony.com/doc/current/messenger.html#transport-configuration
|
||||||
# async: '%env(MESSENGER_TRANSPORT_DSN)%'
|
async: '%env(MESSENGER_TRANSPORT_DSN)%'
|
||||||
# failed: 'doctrine://default?queue_name=failed'
|
priority:
|
||||||
# sync: 'sync://'
|
dsn: '%env(MESSENGER_TRANSPORT_DSN)%'
|
||||||
|
failed: 'doctrine://default?queue_name=failed'
|
||||||
|
|
||||||
routing:
|
routing:
|
||||||
# Route your messages to the transports
|
# Route your messages to the transports
|
||||||
@ -20,3 +21,12 @@ framework:
|
|||||||
'Chill\MainBundle\Service\ShortMessage\ShortMessage': async
|
'Chill\MainBundle\Service\ShortMessage\ShortMessage': async
|
||||||
'Chill\DocGeneratorBundle\Service\Messenger\RequestGenerationMessage': priority
|
'Chill\DocGeneratorBundle\Service\Messenger\RequestGenerationMessage': priority
|
||||||
'Chill\PersonBundle\AccompanyingPeriod\Lifecycle\AccompanyingPeriodStepChangeRequestMessage': async
|
'Chill\PersonBundle\AccompanyingPeriod\Lifecycle\AccompanyingPeriodStepChangeRequestMessage': async
|
||||||
|
|
||||||
|
when@test:
|
||||||
|
framework:
|
||||||
|
messenger:
|
||||||
|
transports:
|
||||||
|
async: 'in-memory://'
|
||||||
|
failed: 'in-memory://'
|
||||||
|
sync: 'in-memory://'
|
||||||
|
priority: 'in-memory://'
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
framework:
|
|
||||||
messenger:
|
|
||||||
transports:
|
|
||||||
async: 'in-memory://'
|
|
||||||
failed: 'in-memory://'
|
|
||||||
sync: 'in-memory://'
|
|
||||||
priority: 'in-memory://'
|
|
Loading…
x
Reference in New Issue
Block a user