Table of Contents

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

payloadType Type
resultType Type
outboxPayloadType Type

Properties

DuplicatePolicy

Duplicate handling policy: Suppress or ReplayCompleted.

public string DuplicatePolicy { get; set; }

Property Value

string

InboxFactoryName

Name of the generated inbox processor factory method.

public string InboxFactoryName { get; set; }

Property Value

string

MissingKeyPolicy

Missing idempotency-key policy: Reject or Process.

public string MissingKeyPolicy { get; set; }

Property Value

string

OutboxFactoryName

Name of the generated outbox factory method.

public string OutboxFactoryName { get; set; }

Property Value

string

OutboxPayloadType

Payload type stored in the generated outbox.

public Type OutboxPayloadType { get; }

Property Value

Type

PayloadType

Input payload handled by the idempotent receiver and inbox.

public Type PayloadType { get; }

Property Value

Type

ReceiverFactoryName

Name of the generated idempotent receiver factory method.

public string ReceiverFactoryName { get; set; }

Property Value

string

ResultType

Result type returned by the reliable handler.

public Type ResultType { get; }

Property Value

Type