public void Install(IWindsorContainer container, IConfigurationStore store) { container.AutoRegisterHandlersFromThisAssembly(); Configure.With(new CastleWindsorContainerAdapter(container)) .Transport(t => t.UseMsmq("emailsender")) .Start(); }
public void Install(IWindsorContainer container, IConfigurationStore store) { container.AutoRegisterHandlersFromThisAssembly(); //container.Register(Classes.FromThisAssembly() // .BasedOn<IHandleMessages>() // .WithService.AllInterfaces() // .LifestyleTransient()); }
public void Install(IWindsorContainer container, IConfigurationStore store) { // just register all Rebus handlers from this assembly container.AutoRegisterHandlersFromThisAssembly(); }
public void Install(IWindsorContainer container, IConfigurationStore store) { container.AutoRegisterHandlersFromThisAssembly(); }