C# Class NServiceBus.RecoverabilitySettings

Configuration settings for recoverability.
Inheritance: ExposeSettings
ファイルを表示 Open project: Particular/NServiceBus

Public Methods

Method Description
CustomPolicy ( Func custom ) : RecoverabilitySettings

Configures a custom recoverability policy. It allows to take full control over the recoverability decision process.

Delayed ( Action customizations ) : RecoverabilitySettings

Exposes the delayed retries settings.

DisableLegacyRetriesSatellite ( ) : RecoverabilitySettings

Disables the legacy retries satellite. The retries satellite is enabled by default to prevent in-flight retry messages from being left in the .Retries queue when migrating from previous versions of NServiceBus. Further details can be found in the V5 to V6 Upgrade Guide.

Failed ( Action customizations ) : RecoverabilitySettings

Exposes the retry failed settings.

Immediate ( Action customizations ) : RecoverabilitySettings

Exposes the immediate retries settings.

Private Methods

Method Description
RecoverabilitySettings ( SettingsHolder settings ) : System

Method Details

CustomPolicy() public method

Configures a custom recoverability policy. It allows to take full control over the recoverability decision process.
public CustomPolicy ( Func custom ) : RecoverabilitySettings
custom Func The custom recoverability.
return RecoverabilitySettings

Delayed() public method

Exposes the delayed retries settings.
public Delayed ( Action customizations ) : RecoverabilitySettings
customizations Action
return RecoverabilitySettings

DisableLegacyRetriesSatellite() public method

Disables the legacy retries satellite. The retries satellite is enabled by default to prevent in-flight retry messages from being left in the .Retries queue when migrating from previous versions of NServiceBus. Further details can be found in the V5 to V6 Upgrade Guide.
public DisableLegacyRetriesSatellite ( ) : RecoverabilitySettings
return RecoverabilitySettings

Failed() public method

Exposes the retry failed settings.
public Failed ( Action customizations ) : RecoverabilitySettings
customizations Action
return RecoverabilitySettings

Immediate() public method

Exposes the immediate retries settings.
public Immediate ( Action customizations ) : RecoverabilitySettings
customizations Action
return RecoverabilitySettings