public void Install(IWindsorContainer container, IConfigurationStore store) { var massTransitBus = new ServiceBusFactory().Create(_endpoint); container.Register(Component.For <IServiceBus>().Instance(massTransitBus).LifeStyle.Singleton); }
public void Install(IWindsorContainer container, IConfigurationStore store) { var massTransitBus = new ServiceBusFactory().Create(_endpoint); container.Register(Component.For<IServiceBus>().Instance(massTransitBus).LifeStyle.Singleton); }