Skip to content

Commit 0d12880

Browse files
Nyholmweaverryan
authored andcommitted
minor updates according to feedback
1 parent ec3e1d7 commit 0d12880

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

messenger/message-recorder.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ such as:
1111

1212
- If using the ``DoctrineTransactionMiddleware`` and a dispatched message throws an exception,
1313
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.
1616

1717
An Example ``RegisterUser`` Process
1818
-----------------------------------
@@ -68,12 +68,10 @@ buses. For the example, the middleware must be loaded for both the command and e
6868
messenger.bus.command:
6969
middleware:
7070
- validation
71-
- doctrine_transaction
7271
messenger.bus.event:
7372
default_middleware: allow_no_handlers
7473
middleware:
7574
- validation
76-
- doctrine_transaction
7775
7876
.. code-block:: xml
7977
@@ -153,6 +151,8 @@ buses. For the example, the middleware must be loaded for both the command and e
153151
(new Envelope($event))
154152
->with(new DispatchAfterCurrentBusStamp())
155153
);
154+
155+
// ...
156156
}
157157
}
158158

0 commit comments

Comments
 (0)