diff --git a/archived/symfony.messenger/8bd5f27013fb1d7217191c548e340f0bdb11912c.json b/archived/symfony.messenger/8bd5f27013fb1d7217191c548e340f0bdb11912c.json new file mode 100644 index 00000000..cff36ae0 --- /dev/null +++ b/archived/symfony.messenger/8bd5f27013fb1d7217191c548e340f0bdb11912c.json @@ -0,0 +1,59 @@ +{ + "manifests": { + "symfony/messenger": { + "manifest": { + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "#1": "Choose one of the transports below", + "#2": "MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages", + "#3": "MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages", + "MESSENGER_TRANSPORT_DSN": "doctrine://default?auto_setup=0" + }, + "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 message_bus service", + " or type-hinting Symfony\\Component\\Messenger\\MessageBusInterface in your code.", + "", + " * To send messages to a transport and handle them asynchronously:", + "", + " 1. Uncomment the MESSENGER_TRANSPORT_DSN env var in .env", + " and framework.messenger.transports.async in config/packages/messenger.yaml;", + " 2. Route your message classes to the async transport in config/packages/messenger.yaml.", + "", + " * Read the documentation at https://symfony.com/doc/current/messenger.html" + ] + }, + "files": { + "config/packages/messenger.yaml": { + "contents": [ + "framework:", + " messenger:", + " # reset services after consuming messages", + " reset_on_message: true", + "", + " # Uncomment this (and the failed transport below) to send failed messages to this transport for later handling.", + " # failure_transport: failed", + "", + " transports:", + " # https://symfony.com/doc/current/messenger.html#transport-configuration", + " # async: '%env(MESSENGER_TRANSPORT_DSN)%'", + " # failed: 'doctrine://default?queue_name=failed'", + " # sync: 'sync://'", + "", + " routing:", + " # Route your messages to the transports", + " # 'App\\Message\\YourMessage': async", + "" + ], + "executable": false + } + }, + "ref": "8bd5f27013fb1d7217191c548e340f0bdb11912c" + } + } +} diff --git a/symfony.messenger.5.4.json b/symfony.messenger.5.4.json index 63359dd5..cff36ae0 100644 --- a/symfony.messenger.5.4.json +++ b/symfony.messenger.5.4.json @@ -7,9 +7,9 @@ }, "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" + "#2": "MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages", + "#3": "MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages", + "MESSENGER_TRANSPORT_DSN": "doctrine://default?auto_setup=0" }, "conflict": { "symfony/framework-bundle": "<4.3" @@ -53,7 +53,7 @@ "executable": false } }, - "ref": "dfe610928a5c61619bdfc830cd7fa7f091368023" + "ref": "8bd5f27013fb1d7217191c548e340f0bdb11912c" } } }