C# Class NServiceBus.DefaultRecoverabilityPolicy

The default recoverability policy.
Mostra file Open project: Particular/NServiceBus

Public Methods

Method Description
Invoke ( RecoverabilityConfig config, ErrorContext errorContext ) : RecoverabilityAction

Invokes the default recovery policy.

Private Methods

Method Description
HasReachedMaxTime ( IncomingMessage message ) : bool
TryGetDelay ( IncomingMessage message, int delayedDeliveriesPerformed, DelayedConfig config, System.TimeSpan &delay ) : bool

Method Details

Invoke() public static method

Invokes the default recovery policy.
public static Invoke ( RecoverabilityConfig config, ErrorContext errorContext ) : RecoverabilityAction
config RecoverabilityConfig The recoverability configuration.
errorContext ErrorContext The error context.
return RecoverabilityAction