]> Raphaël G. Git Repositories - airlibre/commitdiff
Recipe symfony/messenger update
authorRaphaël Gertz <git@rapsys.eu>
Wed, 2 Dec 2026 14:12:36 +0000 (15:12 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Wed, 2 Dec 2026 14:12:36 +0000 (15:12 +0100)
config/packages/messenger.yaml

index 19db483daab75f0a6965f21fd39a3c426a8fb1fb..17ff4d7e8a130b2de95555895d34fa81ebbe9437 100644 (file)
@@ -1,22 +1,23 @@
-framework:
-    messenger:
-        # Uncomment this (and the failed transport below) to send failed messages to this transport for later handling.
-        # failure_transport: failed
+# yaml-language-server: $schema=../schema.json
+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://'
+    transports:
+        # https://symfony.com/doc/current/messenger.html#transport-configuration
+        # async: '%env(MESSENGER_TRANSPORT_DSN)%'
+        # failed:
+        #     dsn: 'doctrine://default?queue_name=failed'
+        #     sign: true
+        sync: 'sync://'
 
 
-        routing:
-            # Route your messages to the transports
-            # 'App\Message\YourMessage': async
+    routing:
+        # Route your messages to the transports
+        # 'App\Message\YourMessage': async
 
 # when@test:
 
 # 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://'
+#    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://'