Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit0d12880

Browse files
Nyholmweaverryan
authored andcommitted
minor updates according to feedback
1 parentec3e1d7 commit0d12880

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, thenthedispatched messagecan still
15-
behandled even if theoriginal handlerencounters an exception.
14+
- If the message is dispatched to a different bus, then dispatched messagewill be
15+
handled even if thecurrent handlerthrows 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)

[8]ページ先頭

©2009-2025 Movatter.jp