NServiceBus.ConfigureQueueCreation.DoNotCreateQueues C# (CSharp) Method

DoNotCreateQueues() public static method

If queues configured do not exist, will cause them not to be created on startup.
public static DoNotCreateQueues ( this config ) : void
config this The instance to apply the settings to.
return void
        public static void DoNotCreateQueues(this EndpointConfiguration config)
        {
            Guard.AgainstNull(nameof(config), config);
            config.Settings.Set("Transport.CreateQueues", false);
        }
ConfigureQueueCreation