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
payloadTypeType
Properties
ChannelName
Operational channel name recorded in dead-letter headers.
public string ChannelName { get; set; }
Property Value
FactoryName
Name of the generated factory method.
public string FactoryName { get; set; }
Property Value
IdPrefix
Prefix used by generated dead-letter identifiers.
public string IdPrefix { get; set; }
Property Value
IncludeExceptionDetails
Controls whether exception type and message are persisted.
public bool IncludeExceptionDetails { get; set; }
Property Value
PayloadType
Payload type captured by the generated dead-letter channel.
public Type PayloadType { get; }
Property Value
Source
Source endpoint, pipeline, or transport name recorded in dead-letter metadata.
public string Source { get; set; }