C# Class NServiceBus.Routing.DistributionStrategy

Determines which instance of a given endpoint a message is to be sent.
显示文件 Open project: Particular/NServiceBus

Public Methods

Method Description
SelectReceiver ( string receiverAddresses ) : string

Selects a destination instance for a message from all known addresses of a logical endpoint.

Protected Methods

Method Description
DistributionStrategy ( string endpoint, DistributionStrategyScope scope )

Creates a new DistributionStrategy.

Method Details

DistributionStrategy() protected method

Creates a new DistributionStrategy.
protected DistributionStrategy ( string endpoint, DistributionStrategyScope scope )
endpoint string The name of the endpoint this distribution strategy resolves instances for.
scope DistributionStrategyScope The scope for this strategy.

SelectReceiver() public abstract method

Selects a destination instance for a message from all known addresses of a logical endpoint.
public abstract SelectReceiver ( string receiverAddresses ) : string
receiverAddresses string
return string