public static void UseSubscriptionService(this ServiceBusConfigurator configurator,
		                                          Action<SubscriptionClientConfigurator> configureCallback)
		{
			var clientConfigurator = new SubscriptionClientConfiguratorImpl();

			configureCallback(clientConfigurator);

			configurator.AddSubscriptionCoordinatorConfigurator(new SubscriptionRouterBuilderConfiguratorImpl(x => x.SetNetwork(null)));

			configurator.AddSubscriptionObserver(clientConfigurator.Create);
		}
Beispiel #2
0
        public static void UseSubscriptionService(this ServiceBusConfigurator configurator,
                                                  Action <SubscriptionClientConfigurator> configureCallback)
        {
            var clientConfigurator = new SubscriptionClientConfiguratorImpl();

            configureCallback(clientConfigurator);

            configurator.AddSubscriptionCoordinatorConfigurator(new SubscriptionRouterBuilderConfiguratorImpl(x => x.SetNetwork(null)));

            configurator.AddSubscriptionObserver(clientConfigurator.Create);
        }