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
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -162,7 +162,7 @@ Internally, the transactional session doesn't use a single transaction that span
162
162
6. Transport operations are captured by the `PendingTransportOperations`
163
163
7. The user can store any data using the persistence-specific session, which is accessible through the transactional session.
164
164
8. When all operations are registered, the user calls `Commit` on the transactional session.
165
-
9. 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.
165
+
9. A control message to complete the transaction is dispatched. The control message is independent of the message operations and is not stored in the outbox record.
166
166
10. The message operations are converted into an outbox record.
167
167
11. The outbox record is returned to the transactional session
168
168
12. The outbox record is saved to the storage seam.
@@ -173,7 +173,7 @@ Internally, the transactional session doesn't use a single transaction that span
173
173
174
174
### Phase 2
175
175
176
-
The endpoint receives the control message and processes it as follows:
176
+
The control message is processed as follows:
177
177
178
178
* Find the outbox record.
179
179
* If it exists, and it hasn't been marked as dispatched, and there are pending operations:
@@ -187,7 +187,7 @@ The transactional session provides atomic store-and-send guarantees, similar to
187
187
* Transaction finishes with data being stored, and outgoing messages eventually sent - when the `Commit` path successfully stores the `OutboxRecord`
188
188
* Transaction finishes with no visible side effects - when the control message stores the `OutboxRecord`
189
189
190
-
Sending the control message first ensures that, eventually, the transaction will have an atomic outcome. If the `Commit` of the `OutboxRecord` succeeds, the control message will ensure the outgoing operations are sent.
190
+
Sending the control message first ensures that, eventually, the transaction will have an atomic outcome. If the `Commit` of the `OutboxRecord` succeeds, the control message will ensure the outgoing operations are sent.
Copy file name to clipboardExpand all lines: nservicebus/transactional-session/index_remote-processor_transactionalsession_[3.3,).partial.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -17,8 +17,8 @@ The processor endpoint [must have both the outbox and the transactional session
17
17
18
18
Using the transactional session in send-only endpoints has the following benefits:
19
19
20
-
- Simplified management: For short-lived endpoints, there is no longer a need to make sure that all control messages have been processed before decommissioning them
21
-
- Targeted scaling: Scaling can be tailored with only the load of control messages in mind since the incoming load to store the records are handled by the endpoint using the processor.
20
+
- Simplified management: For short-lived endpoints, there is no longer a need to make sure that all control messages have been processed before decommissioning them
21
+
- Targeted scaling: Scaling can be tailored with only the load of control messages in mind since the incoming load to store the records are handled by the endpoint using the processor.
22
22
23
23
### Outbox cleanup
24
24
@@ -51,4 +51,4 @@ For endpoints that previously couldn't be send-only because of the transactional
51
51
#### Cleanup
52
52
53
53
1. Remove the no longer used input queue of the send-only endpoint
54
-
1. As needed, remove any database artefacts (tables, documents, etc) related to the send-only endpoint. See [documentation for the individual persisters](/persistence/) for more details.
54
+
1. As needed, remove any database artifacts (tables, documents, etc) related to the send-only endpoint. See [documentation for the individual persisters](/persistence/) for more details.
0 commit comments