Files
symfony-flex-recipes/symfony.messenger.4.3.json
T
github-action botandgithub-action bot 46cdc6094a Update Flex endpoint
2021-09-20 16:37:33 +00:00

59 lines
3.1 KiB
JSON

{
"locks": {
"symfony/messenger": {
"version": "4.3",
"recipe": {
"repo": "4.3",
"branch": "master",
"version": "4.3",
"ref": "25e3c964d3aee480b3acc3114ffb7940c89edfed"
}
}
},
"manifests": {
"symfony/messenger": {
"repository": "github.com/symfony/recipes",
"package": "symfony/messenger",
"version": "4.3",
"manifest": {
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"#1": "Choose one of the transports below",
"#2": "MESSENGER_TRANSPORT_DSN=doctrine://default",
"#3": "MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages",
"#4": "MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages"
},
"aliases": [
"messenger"
],
"conflict": {
"symfony/framework-bundle": "<4.3"
},
"post-install-output": [
" * You're ready to use the Messenger component. You can define your own message buses",
" or start using the default one right now by injecting the <info>message_bus</info> service",
" or type-hinting <info>Symfony\\Component\\Messenger\\MessageBusInterface</info> in your code.",
"",
" * To send messages to a transport and handle them asynchronously:",
"",
" 1. Uncomment the <info>MESSENGER_TRANSPORT_DSN</> env var in <comment>.env</>",
" and <info>framework.messenger.transports.async</> in <comment>config/packages/messenger.yaml</>;",
" 2. Route your message classes to the async transport in <comment>config/packages/messenger.yaml</>.",
"",
" * <fg=blue>Read</> the documentation at <comment>https://symfony.com/doc/current/messenger.html</>"
]
},
"files": {
"config/packages/messenger.yaml": {
"contents": "framework:\n messenger:\n # Uncomment this (and the failed transport below) to send failed messages to this transport for later handling.\n # failure_transport: failed\n\n transports:\n # https://symfony.com/doc/current/messenger.html#transport-configuration\n # async: '%env(MESSENGER_TRANSPORT_DSN)%'\n # failed: 'doctrine://default?queue_name=failed'\n # sync: 'sync://'\n\n routing:\n # Route your messages to the transports\n # 'App\\Message\\YourMessage': async\n",
"executable": false,
"encoding": ""
}
},
"origin": "symfony/messenger:4.3@github.com/symfony/recipes:master",
"is_contrib": false
}
}
}