protected BusScenarioBuilderImpl(Uri uri)
		{
			_settings = new ServiceBusDefaultSettings();
			_settings.ConcurrentConsumerLimit = 4;
			_settings.ReceiveTimeout = 50.Milliseconds();

			_configurator = new ServiceBusConfiguratorImpl(_settings);
			_configurator.ReceiveFrom(uri);
		}
        protected BusScenarioBuilderImpl(Uri uri)
        {
            _settings = new ServiceBusDefaultSettings();
            _settings.ConcurrentConsumerLimit = 4;
            _settings.ReceiveTimeout          = 50.Milliseconds();

            _configurator = new ServiceBusConfiguratorImpl(_settings);
            _configurator.ReceiveFrom(uri);
        }
Example #3
0
        public LoopbackLocalRemoteBusScenarioBuilder()
        {
            _settings = new ServiceBusDefaultSettings();
            _settings.ConcurrentConsumerLimit = 4;
            _settings.ReceiveTimeout          = 50.Milliseconds();

            _localConfigurator = new ServiceBusConfiguratorImpl(_settings);
            _localConfigurator.ReceiveFrom(DefaultLocalUri);

            _remoteConfigurator = new ServiceBusConfiguratorImpl(_settings);
            _remoteConfigurator.ReceiveFrom(DefaultRemoteUri);
        }