Table of Contents

Class ResponseTopicOutboundHeadersEnricher<TMessage>

Namespace
Silverback.Messaging.Producing.Enrichers
Assembly
Silverback.Integration.MQTT.dll

The enricher that sets the response topic temporary header.

public class ResponseTopicOutboundHeadersEnricher<TMessage> : GenericOutboundHeadersEnricher<TMessage>, IOutboundMessageEnricher

Type Parameters

TMessage

The type of the messages to be enriched.

Inheritance
ResponseTopicOutboundHeadersEnricher<TMessage>
Implements
Inherited Members

Constructors

ResponseTopicOutboundHeadersEnricher(Func<IOutboundEnvelope<TMessage>, object?>)

Initializes a new instance of the ResponseTopicOutboundHeadersEnricher<TMessage> class.

public ResponseTopicOutboundHeadersEnricher(Func<IOutboundEnvelope<TMessage>, object?> responseTopicProvider)

Parameters

responseTopicProvider Func<IOutboundEnvelope<TMessage>, object>

The response topic provider function.

ResponseTopicOutboundHeadersEnricher(Func<TMessage?, string?>)

Initializes a new instance of the ResponseTopicOutboundHeadersEnricher<TMessage> class.

public ResponseTopicOutboundHeadersEnricher(Func<TMessage?, string?> responseTopicProvider)

Parameters

responseTopicProvider Func<TMessage, string>

The response topic provider function.

ResponseTopicOutboundHeadersEnricher(string?)

Initializes a new instance of the ResponseTopicOutboundHeadersEnricher<TMessage> class.

public ResponseTopicOutboundHeadersEnricher(string? responseTopic)

Parameters

responseTopic string

The response topic.