Table of Contents

Interface IMqttProducerEndpointResolver<TMessage>

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

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

public interface IMqttProducerEndpointResolver<in TMessage>

Type Parameters

TMessage

The type of the messages being produced.

Methods

GetTopic(IOutboundEnvelope<TMessage>)

Gets the target topic for the message being produced.

string GetTopic(IOutboundEnvelope<in TMessage> envelope)

Parameters

envelope IOutboundEnvelope<TMessage>

The envelope containing the message to be produced.

Returns

string

The target topic.