Exemplo n.º 1
0
 public ServiceBusSettings(ServiceBusDefaultSettings defaultSettings)
 {
     AutoStart = defaultSettings.AutoStart;
     ConcurrentConsumerLimit = defaultSettings.ConcurrentConsumerLimit;
     ConcurrentReceiverLimit = defaultSettings.ConcurrentReceiverLimit;
     ReceiveTimeout          = defaultSettings.ReceiveTimeout;
     ShutdownTimeout         = defaultSettings.ShutdownTimeout;
     EndpointCache           = defaultSettings.EndpointCache;
     Network = defaultSettings.Network;
     EnablePerformanceCounters = defaultSettings.EnablePerformanceCounters;
 }
Exemplo n.º 2
0
        public ServiceBusConfigurator(ServiceBusDefaultSettings defaultSettings)
        {
            _settings = new ServiceBusSettings(defaultSettings);

            _builderFactory = DefaultBuilderFactory;
            _configurators  = new List <IBusBuilderConfigurator>();

            _endpointFactoryConfigurator = new EndpointFactoryConfigurator(new EndpointFactoryDefaultSettings());

            _subscriptionRouterConfigurator = new SubscriptionRouterConfigurator(_settings.Network);
            _configurators.Add(_subscriptionRouterConfigurator);
        }
 public ServiceBusDefaultSettingsConfigurator(ServiceBusDefaultSettings defaultSettings)
 {
     _defaultSettings = defaultSettings;
 }