Interface IProducerEndpointResolver
- Namespace
- Silverback.Messaging.Producing.EndpointResolvers
- Assembly
- Silverback.Integration.dll
Resolves the destination endpoint (e.g. the target topic and partition) for a message being produced.
public interface IProducerEndpointResolver
Properties
RawName
Gets the raw endpoint name that can be used as RawName.
string RawName { get; }
Property Value
Methods
GetEndpoint(IOutboundEnvelope)
Gets the computed actual destination endpoint for the message being produced.
ProducerEndpoint GetEndpoint(IOutboundEnvelope envelope)
Parameters
envelopeIOutboundEnvelopeThe envelope containing the message to be produced.
Returns
- ProducerEndpoint
The ProducerEndpoint for the specified message.