Namespace Cephalon.Behaviors.Patterns.Strategies
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Classes
Section titled “Classes”ChoreographySagaExecutionStrategy
Executes behaviors that follow the choreography-based saga pattern.
Publications returned by the behavior are staged through
Executes behaviors that follow the CQRS (Command Query Responsibility Segregation) pattern. Commands produce no output (returns HTTP 202), queries return a value (HTTP 200).
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.
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.
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
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.