public IBusControl CreateBus()
        {
            var builder = new ServiceBusBusBuilder(_hosts.ToArray(), ConsumePipeFactory, SendPipeFactory, PublishPipeFactory, _settings);

            foreach (var configurator in _transportSpecifications)
                configurator.Apply(builder);

            return builder.Build();
        }
        public IBusControl CreateBus()
        {
            var builder = new ServiceBusBusBuilder(_hosts, _consumePipeSpecification, _settings);

            foreach (IBusFactorySpecification configurator in _transportSpecifications)
            {
                configurator.Apply(builder);
            }

            return(builder.Build());
        }
Esempio n. 3
0
        public IBusControl CreateBus()
        {
            var builder = new ServiceBusBusBuilder(_hosts.ToArray(), ConsumePipeFactory, SendPipeFactory, PublishPipeFactory, _settings);

            foreach (var configurator in _transportSpecifications)
            {
                configurator.Apply(builder);
            }

            return(builder.Build());
        }