I went down that route at the beginning, then added the HostConfiguration class which can be used to configure the facility before it's added to the container. Have a look at the Starbucks example to see how it's used.
On Sat, Jun 13, 2009 at 23:39, Vadimmer <[email protected]> wrote: > > I tried to get the thread count in my custom bootstrapper. > Haven't found any way to register my bootstrapper instance as > IBusConfigurationAware in the default host's container. > > Couldn't find a way to access the default host's container before the > RSB facility is added (and therefore IBusConfiguration instances are > notified). > > I would be pleased to hear, if I missed something :) > > If not :), the root of this all is, I believe, in these lines: > > var facility = new RhinoServiceBusFacility(); > bootStrapper.ConfigureBusFacility(facility); > container.Kernel.AddFacility("rhino.esb", facility); > > I'd suggest the default host called InitializeContainer before the > adding of the facility. > > What do you think of this? > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Rhino Tools Dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rhino-tools-dev?hl=en -~----------~----~----~----~------~----~------~--~---
