@@ -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, thenthe dispatched messagecan still
15- be handled 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
1717An Example ``RegisterUser `` Process
1818-----------------------------------
@@ -68,12 +68,10 @@ buses. For the example, the middleware must be loaded for both the command and e
6868messenger.bus.command :
6969middleware :
7070 -validation
71- -doctrine_transaction
7271messenger.bus.event :
7372default_middleware :allow_no_handlers
7473middleware :
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