Interface IProducerEndpointNameResolver
Represents a type used to resolve the actual target endpoint name for the outbound message.
Namespace: Silverback.Messaging.Outbound.Routing
Assembly: Silverback.Integration.dll
Syntax
public interface IProducerEndpointNameResolver
Methods
| Improve this doc View sourceGetName(IOutboundEnvelope)
Gets the actual target endpoint name for the message being produced. If it returns
null the message will not be produced.
Declaration
string? GetName(IOutboundEnvelope envelope)
Parameters
| Type | Name | Description |
|---|---|---|
| IOutboundEnvelope | envelope | The envelope containing the message being produced. |
Returns
| Type | Description |
|---|---|
| string | The actual name of the endpoint to be produced to. |