Class EndPointBase
Represents the base class for messaging endpoints.
public abstract class EndPointBase
- Inheritance
-
EndPointBase
- Derived
- Inherited Members
Constructors
EndPointBase(string)
Initializes a new instance of the EndPointBase class with the specified exchange.
protected EndPointBase(string exchangeName)
Parameters
exchangeNamestringExchange associated with the endpoint.
Properties
Exchange
Exchange associated with the endpoint.
public string Exchange { get; }
Property Value
Methods
GetRoutingKey<TMessage>(IRoutingKeyResolver)
Gets the routing key for a specified message using the provided IRoutingKeyResolver.
public abstract string GetRoutingKey<TMessage>(IRoutingKeyResolver routingKeyResolver)
Parameters
routingKeyResolverIRoutingKeyResolverThe resolver used to determine the routing key.
Returns
- string
The routing key for the specified message.
Type Parameters
TMessageThe type of the message for which the routing key is generated.