C# Class NServiceBus.InstanceMappingFileSettings

Allows configuring file-based instance mappings.
Inheritance: ExposeSettings
Show file Open project: Particular/NServiceBus

Public Methods

Method Description
FilePath ( string filePath ) : InstanceMappingFileSettings

Specifies the path and file name for the instance mapping XML. The default is instance-mapping.xml.

InstanceMappingFileSettings ( SettingsHolder settings ) : System

Creates new instance of InstanceMappingFileSettings.

RefreshInterval ( System.TimeSpan refreshInterval ) : InstanceMappingFileSettings

Specifies the interval between data refresh attempts. The default value is 30 seconds.

Method Details

FilePath() public method

Specifies the path and file name for the instance mapping XML. The default is instance-mapping.xml.
public FilePath ( string filePath ) : InstanceMappingFileSettings
filePath string The relative or absolute file path to the instance mapping XML file.
return InstanceMappingFileSettings

InstanceMappingFileSettings() public method

Creates new instance of InstanceMappingFileSettings.
public InstanceMappingFileSettings ( SettingsHolder settings ) : System
settings SettingsHolder
return System

RefreshInterval() public method

Specifies the interval between data refresh attempts. The default value is 30 seconds.
public RefreshInterval ( System.TimeSpan refreshInterval ) : InstanceMappingFileSettings
refreshInterval System.TimeSpan Refresh interval. Valid values must be between 1 second and less than 1 day.
return InstanceMappingFileSettings