public static IEndpointFactoryConfigurator SetPurgeOnStartup(this IEndpointFactoryConfigurator configurator, bool value)
        {
            var builderConfigurator = new DelegateEndpointFactoryBuilderConfigurator(x => x.SetPurgeOnStartup(value));

            configurator.AddEndpointFactoryConfigurator(builderConfigurator);

            return(configurator);
        }
        public static IEndpointFactoryConfigurator SetCreateMissingQueues(this IEndpointFactoryConfigurator configurator,
                                                                          bool value)
        {
            var builderConfigurator = new DelegateEndpointFactoryBuilderConfigurator(x => x.SetCreateMissingQueues(value));

            configurator.AddEndpointFactoryConfigurator(builderConfigurator);

            return(configurator);
        }
Пример #3
0
 public void AddEndpointFactoryConfigurator(IEndpointFactoryBuilderConfigurator configurator)
 {
     _endpointFactoryConfigurator.AddEndpointFactoryConfigurator(configurator);
 }