Class StaticOutboundHeadersEnricher
A generic enricher that adds a message header according to a static name/value pair or a provider function.
Implements
Inherited Members
Namespace: Silverback.Messaging.Producing.Enrichers
Assembly: Silverback.Integration.dll
Syntax
public class StaticOutboundHeadersEnricher : GenericOutboundHeadersEnricher<object>, IOutboundMessageEnricher
Constructors
StaticOutboundHeadersEnricher(string, object?)
Initializes a new instance of the StaticOutboundHeadersEnricher class.
Declaration
public StaticOutboundHeadersEnricher(string name, object? value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The header name. |
| object | value | The header value. |