Class GenerateCorrelationIdentifierAttribute
- Namespace
- PatternKit.Generators.Messaging
- Assembly
- PatternKit.Generators.Abstractions.dll
Generates a factory for the Correlation Identifier enterprise integration pattern.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct, Inherited = false)]
public sealed class GenerateCorrelationIdentifierAttribute : Attribute
- Inheritance
-
GenerateCorrelationIdentifierAttribute
- Inherited Members
Constructors
GenerateCorrelationIdentifierAttribute(Type)
Creates a correlation identifier generator attribute.
public GenerateCorrelationIdentifierAttribute(Type payloadType)
Parameters
payloadTypeTypeThe message payload type.
Properties
FactoryName
The generated factory method name.
public string FactoryName { get; set; }
Property Value
HeaderName
The header used to carry the correlation identifier.
public string HeaderName { get; set; }
Property Value
PayloadType
The message payload type.
public Type PayloadType { get; }
Property Value
PreserveExisting
Whether generated configuration preserves an existing identifier.
public bool PreserveExisting { get; set; }