Table of Contents

Class GenerateDeadLetterChannelAttribute

Namespace
PatternKit.Generators.Messaging
Assembly
PatternKit.Generators.Abstractions.dll

Generates a dead-letter channel factory for failed or undeliverable messages.

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct, Inherited = false)]
public sealed class GenerateDeadLetterChannelAttribute : Attribute
Inheritance
GenerateDeadLetterChannelAttribute
Inherited Members

Constructors

GenerateDeadLetterChannelAttribute(Type)

Generates a dead-letter channel factory for failed or undeliverable messages.

public GenerateDeadLetterChannelAttribute(Type payloadType)

Parameters

payloadType Type

Properties

ChannelName

Operational channel name recorded in dead-letter headers.

public string ChannelName { get; set; }

Property Value

string

FactoryName

Name of the generated factory method.

public string FactoryName { get; set; }

Property Value

string

IdPrefix

Prefix used by generated dead-letter identifiers.

public string IdPrefix { get; set; }

Property Value

string

IncludeExceptionDetails

Controls whether exception type and message are persisted.

public bool IncludeExceptionDetails { get; set; }

Property Value

bool

PayloadType

Payload type captured by the generated dead-letter channel.

public Type PayloadType { get; }

Property Value

Type

Source

Source endpoint, pipeline, or transport name recorded in dead-letter metadata.

public string Source { get; set; }

Property Value

string