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: samples/azure/azure-table/transactions/sample.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,17 +37,17 @@ The OrderId is used as the partition key.
37
37
38
38
## Using Behaviors
39
39
40
-
The following shows 3 different ways to provide OrderIDs to the saga using [behaviors](/nservicebus/pipeline/manipulate-with-behaviors.md).
40
+
The following shows two different ways to provide OrderIDs to the saga using [behaviors](/nservicebus/pipeline/manipulate-with-behaviors.md).
41
41
42
-
Most messages implement `IProvideOrderId` allowing the OrderId to be used as the partition key.
42
+
1.Most messages implement `IProvideOrderId` allowing the OrderId to be used as the partition key.
43
43
44
44
snippet: BehaviorUsingIProvideOrderId
45
45
46
-
One of the handlers publishes an event that does not implement `IProvideOrderId` but adds a custom header containing the OrderId. The handler also creates `OrderShippingInformation` as part of the transactional batch provided by NServiceBus.
46
+
2.One handler publishes an event that does not implement `IProvideOrderId` but adds a custom header containing the OrderId. The handler also creates `OrderShippingInformation` as part of the transactional batch provided by NServiceBus.
47
47
48
48
snippet: UseHeader
49
49
50
-
The header allows the partition key to be determined within the transport receive context.
50
+
The custom header added then allows the partition key to be determined within `OrderIdHeaderAsPartitionKeyBehavior`.
0 commit comments