File tree 1 file changed +4
-4
lines changed
Filter options
1 file changed +4
-4
lines changed
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ such as:
11
11
12
12
- If using the ``DoctrineTransactionMiddleware `` and a dispatched message throws an exception,
13
13
then any database transactions in the original handler will be rolled back.
14
- - If the message is dispatched to a different bus, then the dispatched message can still
15
- be handled even if the original handler encounters an exception.
14
+ - If the message is dispatched to a different bus, then dispatched message will be
15
+ handled even if the current handler throws an exception.
16
16
17
17
An Example ``RegisterUser `` Process
18
18
-----------------------------------
@@ -68,12 +68,10 @@ buses. For the example, the middleware must be loaded for both the command and e
68
68
messenger.bus.command :
69
69
middleware :
70
70
- validation
71
- - doctrine_transaction
72
71
messenger.bus.event :
73
72
default_middleware : allow_no_handlers
74
73
middleware :
75
74
- validation
76
- - doctrine_transaction
77
75
78
76
.. code-block :: xml
79
77
@@ -153,6 +151,8 @@ buses. For the example, the middleware must be loaded for both the command and e
153
151
(new Envelope($event))
154
152
->with(new DispatchAfterCurrentBusStamp())
155
153
);
154
+
155
+ // ...
156
156
}
157
157
}
158
158
You can’t perform that action at this time.
0 commit comments