protected override void SubscribeLocalBus(SubscriptionBusServiceConfigurator subscriptionBusServiceConfigurator) { subscriptionBusServiceConfigurator.LoadFrom(_container); }
protected override void SubscribeLocalBus(SubscriptionBusServiceConfigurator subscriptionBusServiceConfigurator) { subscriptionBusServiceConfigurator.LoadFrom(_container); }
/// <summary> /// Specify that the service bus should load its subscribers from the container passed as an argument, /// using only those subscribers which are explicitly registered as an IConsumer or ISaga service. /// </summary> /// <param name="configurator">The configurator the extension method works on.</param> /// <param name="container">The Windsor container.</param> public static void LoadRegisteredServicesFrom( [NotNull] this SubscriptionBusServiceConfigurator configurator, [NotNull] IWindsorContainer container) { configurator.LoadFrom(container, true); }