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