Table of Contents

Interface IDynamicProducerEndpointResolver

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

Dynamically resolves the destination endpoint (e.g. the target topic and partition) for each message being produced.

public interface IDynamicProducerEndpointResolver : IProducerEndpointResolver
Inherited Members

Methods

GetSerializedEndpoint(IOutboundEnvelope)

Gets the string representation of the computed actual destination endpoint for the message being produced.

string GetSerializedEndpoint(IOutboundEnvelope envelope)

Parameters

envelope IOutboundEnvelope

The envelope containing the message to be produced.

Returns

string

The ProducerEndpoint for the specified message.