Interface IDynamicProducerEndpointResolver
Dynamically resolves the destination endpoint (e.g. the target topic and partition) for each message being produced.
Inherited Members
Namespace: Silverback.Messaging.Producing.EndpointResolvers
Assembly: Silverback.Integration.dll
Syntax
public interface IDynamicProducerEndpointResolver : IProducerEndpointResolver
Methods
GetSerializedEndpoint(IOutboundEnvelope)
Gets the string representation of the computed actual destination endpoint for the message being produced.
Declaration
string GetSerializedEndpoint(IOutboundEnvelope envelope)
Parameters
| Type | Name | Description |
|---|---|---|
| IOutboundEnvelope | envelope | The envelope containing the message to be produced. |
Returns
| Type | Description |
|---|---|
| string | The ProducerEndpoint for the specified message. |