public IBusService Create(IServiceBus bus)
		{
			var subscriptionServiceBuilder = new SubscriptionBusServiceBuilderImpl();

			foreach (SubscriptionBusServiceBuilderConfigurator configurator in _configurators)
			{
				configurator.Configure(subscriptionServiceBuilder);
			}

			return subscriptionServiceBuilder.Build();
		}
Beispiel #2
0
        public IBusService Create(IServiceBus bus)
        {
            var subscriptionServiceBuilder = new SubscriptionBusServiceBuilderImpl();

            foreach (SubscriptionBusServiceBuilderConfigurator configurator in _configurators)
            {
                configurator.Configure(subscriptionServiceBuilder);
            }

            return(subscriptionServiceBuilder.Build());
        }