protected override void ConfigureServiceBus(Uri uri, IServiceBusConfigurator configurator) { base.ConfigureServiceBus(uri, configurator); configurator.UseControlBus(); configurator.UseSubscriptionService(SubscriptionUri); }
public static IServiceBusConfigurator UseSubscriptionService(this IServiceBusConfigurator configurator, Uri subscriptionServiceUri) { configurator.UseSubscriptionService(x => x.SetSubscriptionServiceEndpoint(subscriptionServiceUri)); return(configurator); }