Class CorrelationDataOutboundHeadersEnricher<TMessage>
- Namespace
- Silverback.Messaging.Producing.Enrichers
- Assembly
- Silverback.Integration.MQTT.dll
The enricher that sets the correlation data header.
public class CorrelationDataOutboundHeadersEnricher<TMessage> : GenericOutboundHeadersEnricher<TMessage>, IOutboundMessageEnricher
Type Parameters
TMessageThe type of the messages to be enriched.
- Inheritance
-
GenericOutboundHeadersEnricher<TMessage>CorrelationDataOutboundHeadersEnricher<TMessage>
- Implements
- Inherited Members
Constructors
CorrelationDataOutboundHeadersEnricher(byte[]?)
Initializes a new instance of the CorrelationDataOutboundHeadersEnricher<TMessage> class.
public CorrelationDataOutboundHeadersEnricher(byte[]? correlationData)
Parameters
correlationDatabyte[]The correlation data.
CorrelationDataOutboundHeadersEnricher(Func<IOutboundEnvelope<TMessage>, byte[]?>)
Initializes a new instance of the CorrelationDataOutboundHeadersEnricher<TMessage> class.
public CorrelationDataOutboundHeadersEnricher(Func<IOutboundEnvelope<TMessage>, byte[]?> correlationDataProvider)
Parameters
correlationDataProviderFunc<IOutboundEnvelope<TMessage>, byte[]>The correlation data provider function.
CorrelationDataOutboundHeadersEnricher(Func<TMessage?, byte[]?>)
Initializes a new instance of the CorrelationDataOutboundHeadersEnricher<TMessage> class.
public CorrelationDataOutboundHeadersEnricher(Func<TMessage?, byte[]?> correlationDataProvider)