internal BusBuilderConfiguration()
        {
            Debugging = new BusBuilderDebuggingConfiguration();
            LargeMessageStorageConfiguration = new LargeMessageStorageConfiguration();
            Router = new DestinationPerMessageTypeRouter();

            Logger     = new NullLogger();
            Compressor = new NullCompressor();
        }
Example #2
0
        public static BusBuilderDebuggingConfiguration RemoveAllExistingNamespaceElementsOnStartup(this BusBuilderDebuggingConfiguration debuggingConfiguration, string confirmation)
        {
            if (confirmation != _confirmationMessage)
            {
                throw new BusConfigurationException("RemoveAllExistingNamespaceElements", _requiresConfirmationMessage);
            }

            debuggingConfiguration.RemoveAllExistingNamespaceElements = true;
            return(debuggingConfiguration);
        }
Example #3
0
 public static BusBuilderDebuggingConfiguration RemoveAllExistingNamespaceElementsOnStartup(this BusBuilderDebuggingConfiguration debuggingConfiguration)
 {
     throw new BusConfigurationException("RemoveAllExistingNamespaceElements", _requiresConfirmationMessage);
 }