You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: nservicebus/transactional-session/index.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -176,11 +176,14 @@ Internally, the transactional session doesn't use a single transaction that span
176
176
3. A transaction is started on the storage seam.
177
177
4. The user can execute any required message operations using the transactional session.
178
178
5. The user can store any data using the persistence-specific session, which is accessible through the transactional session.
179
-
6. When all operations are registered, the user calls ´Commit´ on the transactional session.
179
+
6. When all operations are registered, the user calls `Commit` on the transactional session.
180
180
7. A control message to complete the transaction is dispatched to the local queue. The control message is independent of the message operations and is not stored in the outbox record.
181
181
8. The message operations are converted and stored into an outbox record.
182
182
9. The transaction is committed, and the outbox record and business data modifications are stored atomically.
183
183
184
+
> [!NOTE]
185
+
> Steps 7 and 8 are skipped, and as a consequence Phase 2, when no message operations are executed in the transactional session to avoid wasting queue and database resources.
186
+
184
187
### Phase 2
185
188
186
189
The endpoint receives the control message and processes it as follows:
0 commit comments