mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 15:16:30 +03:00
47 lines
2.0 KiB
JSON
47 lines
2.0 KiB
JSON
{
|
|
"manifests": {
|
|
"symfony/webapp-pack": {
|
|
"manifest": {
|
|
"copy-from-recipe": {
|
|
"config/": "%CONFIG_DIR%/"
|
|
}
|
|
},
|
|
"files": {
|
|
"config/packages/messenger.yaml": {
|
|
"contents": [
|
|
"framework:",
|
|
" messenger:",
|
|
" failure_transport: failed",
|
|
"",
|
|
" transports:",
|
|
" # https://symfony.com/doc/current/messenger.html#transport-configuration",
|
|
" async:",
|
|
" dsn: '%env(MESSENGER_TRANSPORT_DSN)%'",
|
|
" retry_strategy:",
|
|
" max_retries: 3",
|
|
" multiplier: 2",
|
|
" failed: 'doctrine://default?queue_name=failed'",
|
|
" # sync: 'sync://'",
|
|
"",
|
|
" default_bus: messenger.bus.default",
|
|
"",
|
|
" buses:",
|
|
" messenger.bus.default: []",
|
|
"",
|
|
" routing:",
|
|
" Symfony\\Component\\Mailer\\Messenger\\SendEmailMessage: async",
|
|
" Symfony\\Component\\Notifier\\Message\\ChatMessage: async",
|
|
" Symfony\\Component\\Notifier\\Message\\SmsMessage: async",
|
|
"",
|
|
" # Route your messages to the transports",
|
|
" # 'App\\Message\\YourMessage': async",
|
|
""
|
|
],
|
|
"executable": false
|
|
}
|
|
},
|
|
"ref": "b9e6cc8e7b6069d0e8a816665809a423864eb4dd"
|
|
}
|
|
}
|
|
}
|