Class QueueEndPoint
Represents an abstract class for queue endpoints.
public abstract class QueueEndPoint : EndPointBase
- Inheritance
-
QueueEndPoint
- Inherited Members
Constructors
QueueEndPoint(string)
Initializes a new instance of the QueueEndPoint class with the specified queue name.
protected QueueEndPoint(string queueName)
Parameters
queueNamestringThe name of the messaging queue acting as endpoint
Exceptions
- ArgumentException
Thrown when
queueNameis empty or whitespace.
Properties
QueueName
Gets the name of the messaging queue
public string QueueName { get; }
Property Value
Methods
GetRoutingKey<TMessage>(IRoutingKeyResolver)
Gets the routing key QueueEndPoint -> the QueueName
public override string GetRoutingKey<TMessage>(IRoutingKeyResolver routingKeyResolver)
Parameters
routingKeyResolverIRoutingKeyResolverThe resolver is not used in with this endpoint type
Returns
Type Parameters
TMessageThe type of the message for which the routing key is generated.