Example #1
0
 private void InitializeContainer()
 {
     bootStrapper.InitializeContainer();
     if (hostConfiguration != null)
     {
         bootStrapper.UseConfiguration(hostConfiguration);
     }
 }
Example #2
0
        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);
        }