protected static void ConfigureSubscriptionClient(Uri subscriptionServiceEndpointAddress, IServiceBusConfigurator configurator) { configurator.ConfigureService <SubscriptionClientConfigurator>(y => { // this is fairly easy inline, but wanted to include the example for completeness y.SetSubscriptionServiceEndpoint(subscriptionServiceEndpointAddress); }); }
protected override void ConfigureServiceBus(Uri uri, IServiceBusConfigurator configurator) { base.ConfigureServiceBus(uri, configurator); IControlBus controlBus = ControlBusConfigurator.New(x => { x.ReceiveFrom(GetControlBusUri(uri)); x.PurgeBeforeStarting(); }); configurator.ConfigureService <SubscriptionClientConfigurator>(y => { // Subscription Endpoint y.SetSubscriptionServiceEndpoint(SubscriptionUri); }); configurator.UseControlBus(controlBus); }
protected static void ConfigureSubscriptionClient(Uri subscriptionServiceEndpointAddress, IServiceBusConfigurator configurator) { configurator.ConfigureService<SubscriptionClientConfigurator>(y => { // this is fairly easy inline, but wanted to include the example for completeness y.SetSubscriptionServiceEndpoint(subscriptionServiceEndpointAddress); }); }