Fix typo PaymentProcesser -> PaymentProcessor and garbled arrows in README

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Shyju Krishnankutty
2026-03-03 19:50:16 -08:00
Unverified
parent ae6b23c8d8
commit 41d5c6ea47
3 changed files with 4 additions and 4 deletions
@@ -52,7 +52,7 @@ internal sealed class OrderEnrich() : Executor<Order, Order>("EnrichOrder")
}
}
internal sealed class PaymentProcesser() : Executor<Order, Order>("PaymentProcesser")
internal sealed class PaymentProcessor() : Executor<Order, Order>("PaymentProcessor")
{
public override async ValueTask<Order> HandleAsync(Order message, IWorkflowContext context, CancellationToken cancellationToken = default)
{
@@ -21,7 +21,7 @@ string dtsConnectionString = Environment.GetEnvironmentVariable("DURABLE_TASK_SC
// Create executor instances
OrderIdParser orderParser = new();
OrderEnrich orderEnrich = new();
PaymentProcesser paymentProcessor = new();
PaymentProcessor paymentProcessor = new();
NotifyFraud notifyFraud = new();
// Build workflow with conditional edges
@@ -55,8 +55,8 @@ internal static class OrderRouteConditions
### Routing Logic
In this sample, the routing is based on the order ID:
- Order IDs containing the letter **'B'** are associated with blocked customers ? routed to `NotifyFraud`
- All other order IDs are associated with valid customers ? routed to `PaymentProcessor`
- Order IDs containing the letter **'B'** are associated with blocked customers routed to `NotifyFraud`
- All other order IDs are associated with valid customers routed to `PaymentProcessor`
## Environment Setup