Show / Hide Table of Contents

    Class ResponseTopicOutboundHeadersEnricher<TMessage>

    The enricher that sets the response topic temporary header.

    Inheritance
    object
    GenericOutboundHeadersEnricher<TMessage>
    ResponseTopicOutboundHeadersEnricher<TMessage>
    Implements
    IOutboundMessageEnricher
    Inherited Members
    GenericOutboundHeadersEnricher<TMessage>.Enrich(IOutboundEnvelope)
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Silverback.Messaging.Producing.Enrichers
    Assembly: Silverback.Integration.MQTT.dll
    Syntax
    public class ResponseTopicOutboundHeadersEnricher<TMessage> : GenericOutboundHeadersEnricher<TMessage>, IOutboundMessageEnricher
    Type Parameters
    Name Description
    TMessage

    The type of the messages to be enriched.

    Constructors

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

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

    Declaration
    public ResponseTopicOutboundHeadersEnricher(Func<IOutboundEnvelope<TMessage>, object?> responseTopicProvider)
    Parameters
    Type Name Description
    Func<IOutboundEnvelope<TMessage>, object> responseTopicProvider

    The response topic provider function.

    ResponseTopicOutboundHeadersEnricher(Func<TMessage?, string?>)

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

    Declaration
    public ResponseTopicOutboundHeadersEnricher(Func<TMessage?, string?> responseTopicProvider)
    Parameters
    Type Name Description
    Func<TMessage, string> responseTopicProvider

    The response topic provider function.

    ResponseTopicOutboundHeadersEnricher(string?)

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

    Declaration
    public ResponseTopicOutboundHeadersEnricher(string? responseTopic)
    Parameters
    Type Name Description
    string responseTopic

    The response topic.

    Implements

    IOutboundMessageEnricher
    GitHub E-Mail
    ↑ Back to top © 2026 Sergio Aquilini