internal BusBuilderConfiguration() { Debugging = new BusBuilderDebuggingConfiguration(); LargeMessageStorageConfiguration = new LargeMessageStorageConfiguration(); Router = new DestinationPerMessageTypeRouter(); Logger = new NullLogger(); Compressor = new NullCompressor(); }
public static BusBuilderDebuggingConfiguration RemoveAllExistingNamespaceElementsOnStartup(this BusBuilderDebuggingConfiguration debuggingConfiguration, string confirmation) { if (confirmation != _confirmationMessage) { throw new BusConfigurationException("RemoveAllExistingNamespaceElements", _requiresConfirmationMessage); } debuggingConfiguration.RemoveAllExistingNamespaceElements = true; return(debuggingConfiguration); }
public static BusBuilderDebuggingConfiguration RemoveAllExistingNamespaceElementsOnStartup(this BusBuilderDebuggingConfiguration debuggingConfiguration) { throw new BusConfigurationException("RemoveAllExistingNamespaceElements", _requiresConfirmationMessage); }