Show / Hide Table of Contents

    Interface IMqttProducerEndpointResolver<TMessage>

    A type used to resolve the target topic for the outbound message.

    Namespace: Silverback.Messaging.Producing.EndpointResolvers
    Assembly: Silverback.Integration.MQTT.dll
    Syntax
    public interface IMqttProducerEndpointResolver<in TMessage>
    Type Parameters
    Name Description
    TMessage

    The type of the messages being produced.

    Methods

    GetTopic(IOutboundEnvelope<TMessage>)

    Gets the target topic for the message being produced.

    Declaration
    string GetTopic(IOutboundEnvelope<in TMessage> envelope)
    Parameters
    Type Name Description
    IOutboundEnvelope<TMessage> envelope

    The envelope containing the message to be produced.

    Returns
    Type Description
    string

    The target topic.

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