Пример #1
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);
        }