private void InitializeContainer() { bootStrapper.InitializeContainer(); if (hostConfiguration != null) { bootStrapper.UseConfiguration(hostConfiguration); } }
private void InitializeContainer() { bootStrapper.InitializeContainer(container); if (hostConfiguration != null) { container.Kernel.ConfigurationStore.AddFacilityConfiguration("rhino.esb", hostConfiguration); } var facility = new RhinoServiceBusFacility(); bootStrapper.ConfigureBusFacility(facility); container.Kernel.AddFacility("rhino.esb", facility); }