/// <summary> /// Allows to set the bundle prefix /// </summary> /// <param name="topologySettings"></param> /// <param name="prefix"></param> /// <returns></returns> public static AzureServiceBusForwardingTopologySettings BundlePrefix(this AzureServiceBusForwardingTopologySettings topologySettings, string prefix) { var settings = topologySettings.GetSettings(); settings.Set(WellKnownConfigurationKeys.Topology.Bundling.BundlePrefix, prefix); return(topologySettings); }
public static AzureServiceBusForwardingTopologySettings NumberOfEntitiesInBundle(this AzureServiceBusForwardingTopologySettings topologySettings, int number) { var settings = topologySettings.GetSettings(); settings.Set(WellKnownConfigurationKeys.Topology.Bundling.NumberOfEntitiesInBundle, number); return(topologySettings); }