Class GenerateReliabilityPipelineAttribute
- Namespace
- PatternKit.Generators.Messaging
- Assembly
- PatternKit.Generators.Abstractions.dll
Generates idempotent receiver, inbox processor, and outbox factories for a reliable messaging pipeline.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct, AllowMultiple = false, Inherited = false)]
public sealed class GenerateReliabilityPipelineAttribute : Attribute
- Inheritance
-
GenerateReliabilityPipelineAttribute
- Inherited Members
Constructors
GenerateReliabilityPipelineAttribute(Type, Type, Type)
Creates a reliability-pipeline generator attribute.
public GenerateReliabilityPipelineAttribute(Type payloadType, Type resultType, Type outboxPayloadType)
Parameters
Properties
DuplicatePolicy
Duplicate handling policy: Suppress or ReplayCompleted.
public string DuplicatePolicy { get; set; }
Property Value
InboxFactoryName
Name of the generated inbox processor factory method.
public string InboxFactoryName { get; set; }
Property Value
MissingKeyPolicy
Missing idempotency-key policy: Reject or Process.
public string MissingKeyPolicy { get; set; }
Property Value
OutboxFactoryName
Name of the generated outbox factory method.
public string OutboxFactoryName { get; set; }
Property Value
OutboxPayloadType
Payload type stored in the generated outbox.
public Type OutboxPayloadType { get; }
Property Value
PayloadType
Input payload handled by the idempotent receiver and inbox.
public Type PayloadType { get; }
Property Value
ReceiverFactoryName
Name of the generated idempotent receiver factory method.
public string ReceiverFactoryName { get; set; }
Property Value
ResultType
Result type returned by the reliable handler.
public Type ResultType { get; }