public void Start()
        {
            if (!ConfigureMSMQDistributor.WorkerRunsOnThisEndpoint() || SettingsHolder.Get <int>("Distributor.Version") != 2)
            {
                return;
            }

            transport = Bus.Transport;
            var capacityAvailable = transport.MaximumConcurrencyLevel;

            SendReadyMessage(workerSessionId, capacityAvailable, true);

            transport.FinishedMessageProcessing += TransportOnFinishedMessageProcessing;
        }
 static DistributorSatellite()
 {
     Address = Configure.Instance.GetMasterNodeAddress();
     Disable = !ConfigureMSMQDistributor.DistributorConfiguredToRunOnThisEndpoint() || SettingsHolder.Get <int>("Distributor.Version") != 2;
 }
 static DistributorReadyMessageProcessor()
 {
     Address = Configure.Instance.GetMasterNodeAddress().SubScope("distributor.control");
     Disable = !ConfigureMSMQDistributor.DistributorConfiguredToRunOnThisEndpoint() || SettingsHolder.Get <int>("Distributor.Version") != 2;
 }