Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0d12880

Browse filesBrowse files
Nyholmweaverryan
authored andcommitted
minor updates according to feedback
1 parent ec3e1d7 commit 0d12880
Copy full SHA for 0d12880

File tree

1 file changed

+4
-4
lines changed
Filter options

1 file changed

+4
-4
lines changed

‎messenger/message-recorder.rst

Copy file name to clipboardExpand all lines: messenger/message-recorder.rst
+4-4Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.