]> Raphaël G. Git Repositories - airlibre/commitdiff
Readd config packages messenger yaml file
authorRaphaël Gertz <git@rapsys.eu>
Tue, 27 Feb 2024 11:03:28 +0000 (12:03 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Tue, 27 Feb 2024 11:03:28 +0000 (12:03 +0100)
config/packages/messenger.yaml [new file with mode: 0644]

diff --git a/config/packages/messenger.yaml b/config/packages/messenger.yaml
new file mode 100644 (file)
index 0000000..672b6c4
--- /dev/null
@@ -0,0 +1,22 @@
+framework:
+    messenger:
+        # 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
+
+# when@test:
+#    framework:
+#        messenger:
+#            transports:
+#                # replace with your transport name here (e.g., my_transport: 'in-memory://')
+#                # For more Messenger testing tools, see https://github.com/zenstruck/messenger-test
+#                async: 'in-memory://'