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
TMessageThe 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
envelopeIOutboundEnvelope<TMessage>The envelope containing the message to be produced.
Returns
- string
The target topic.