ข้ามไปยังเนื้อหา

Namespace Cephalon.Behaviors.Patterns.Strategies

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

ChoreographySagaExecutionStrategy

Executes behaviors that follow the choreography-based saga pattern. Publications returned by the behavior are staged through so other services or modules can continue the workflow by reacting to events.

CqrsExecutionStrategy

Executes behaviors that follow the CQRS (Command Query Responsibility Segregation) pattern. Commands produce no output (returns HTTP 202), queries return a value (HTTP 200).

DirectExecutionStrategy

Executes behaviors that follow the direct (request/response) pattern. Returns HTTP 200 when output is non-null, or HTTP 204 No Content when output is null.

DurableExecutionStrategy

Executes replayable durable workflows by rebuilding state from an event-store stream, invoking the workflow step, and appending the emitted domain events with optimistic concurrency.

EventDrivenExecutionStrategy

Executes behaviors that follow the event-driven (fire-and-forget) pattern. Returns HTTP 202 Accepted immediately while the behavior runs in the background.

ProcessManagerExecutionStrategy

Executes behaviors that follow the process-manager pattern. Loads the process checkpoint before invocation, saves it after a successful step, and deletes it when the process signals completion via .

SagaExecutionStrategy

Executes behaviors that follow the saga-step pattern. Loads saga state before invocation and persists it after a successful execution. On exception, state is NOT saved so that explicit compensation logic can be applied.