Class OutboundMessageIdHeadersEnricher<TMessage>
A generic enricher that sets the message id header according to a value provider function.
Implements
Inherited Members
Namespace: Silverback.Messaging.Outbound.Enrichers
Assembly: Silverback.Integration.dll
Syntax
public class OutboundMessageIdHeadersEnricher<TMessage> : GenericOutboundHeadersEnricher<TMessage>, IOutboundMessageEnricher where TMessage : class
Type Parameters
Name | Description |
---|---|
TMessage | The type of the messages to be enriched. |
Constructors
| Improve this doc View sourceOutboundMessageIdHeadersEnricher(Func<IOutboundEnvelope<TMessage>, object?>)
Initializes a new instance of the OutboundMessageIdHeadersEnricher<TMessage> class.
Declaration
public OutboundMessageIdHeadersEnricher(Func<IOutboundEnvelope<TMessage>, object?> valueProvider)
Parameters
Type | Name | Description |
---|---|---|
Func<IOutboundEnvelope<TMessage>, object> | valueProvider | The header value provider function. |