File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -2,16 +2,22 @@ framework:
2
2
messenger :
3
3
# Uncomment this (and the failed transport below) to send failed messages to this transport for later handling.
4
4
# failure_transport: failed
5
+ default_bus : command.bus
6
+
7
+ buses :
8
+ command.bus : ~
9
+ event.bus : ~
5
10
6
11
transports :
7
12
# https://symfony.com/doc/current/messenger.html#transport-configuration
8
13
async : ' %env(MESSENGER_TRANSPORT_DSN)%'
9
14
# failed: 'doctrine://default?queue_name=failed'
10
- # sync: 'sync://'
15
+ sync : ' sync://'
11
16
12
17
routing :
13
18
# Route your messages to the transports
14
- ' App\Message\PurchaseConfirmationNotification ' : async
19
+ # 'App\Message\PurchaseConfirmationNotification': async
20
+ ' App\Message\Command\SaveOrder ' : sync
15
21
16
22
# when@test:
17
23
# framework:
You can’t perform that action at this time.
0 commit comments