Class FileEndpointOptions
Options for file endpoints. Inherits shared options from
and adds local-file-specific read lock configuration.
URI: file:///C:/path?include=*.csv&delay=5000&noop=true
public class FileEndpointOptions : GenericFileEndpointOptions
Inheritance
Inherited Members
EndpointOptions.BindableOptions(Type),EndpointOptions.BindFromUri(IReadOnlyDictionary<string, string>),EndpointOptions.IsLenient(Type),EndpointOptions.OptionValueHint(string),EndpointOptions.ResolveOption(string?, IExchange),EndpointOptions.RoleOf(PropertyInfo),EndpointOptions.UnknownParameterHint(string),EndpointOptions.UnmappedParameters,EndpointOptions.Validate(),EndpointOptions.WrittenBesideConnectionFactory(Type, EndpointUri),EndpointOptions.WrittenForOtherRole(Type, EndpointUri, EndpointRole),GenericFileEndpointOptions.AllowNullBody,GenericFileEndpointOptions.AntExclude,GenericFileEndpointOptions.AntFilterCaseSensitive,GenericFileEndpointOptions.AntInclude,GenericFileEndpointOptions.AppendChars,GenericFileEndpointOptions.AutoCreate,GenericFileEndpointOptions.BackoffErrorThreshold,GenericFileEndpointOptions.BackoffIdleThreshold,GenericFileEndpointOptions.BackoffMultiplier,GenericFileEndpointOptions.BackoffOnFailedExchanges,GenericFileEndpointOptions.Charset,GenericFileEndpointOptions.Delay,GenericFileEndpointOptions.Delete,GenericFileEndpointOptions.DoneFileName,GenericFileEndpointOptions.EagerDeleteTargetFile,GenericFileEndpointOptions.Exclude,GenericFileEndpointOptions.FileExist,GenericFileEndpointOptions.FileName,GenericFileEndpointOptions.Filter,GenericFileEndpointOptions.FilterDirectory,GenericFileEndpointOptions.FilterFile,GenericFileEndpointOptions.FilterInstance,GenericFileEndpointOptions.Idempotent,GenericFileEndpointOptions.IdempotentKey,GenericFileEndpointOptions.Include,GenericFileEndpointOptions.InitialDelay,GenericFileEndpointOptions.MaxDepth,GenericFileEndpointOptions.MaxMessagesPerPoll,GenericFileEndpointOptions.MinAge,GenericFileEndpointOptions.MinDepth,GenericFileEndpointOptions.MoveExisting,GenericFileEndpointOptions.MoveTo,GenericFileEndpointOptions.Noop,GenericFileEndpointOptions.PreMove,GenericFileEndpointOptions.Recursive,GenericFileEndpointOptions.SortBy,GenericFileEndpointOptions.StreamBody,GenericFileEndpointOptions.TempFileName,GenericFileEndpointOptions.TempPrefix,GenericFileEndpointOptions.ValidateCommon()
Properties
JailStartingDirectory
If true, the producer refuses to write outside the endpoint directory (default: true).
public bool JailStartingDirectory { get; set; }
MoveFailed
Directory to move a file to when its processing fails (empty = disabled, the default).
public string MoveFailed { get; set; }
ReadLockCheckInterval
Interval in milliseconds between read lock checks for 'Changed' strategy (default: 1000).
public int ReadLockCheckInterval { get; set; }
ReadLockMarkerFileExtension
Extension used for marker file lock (default: ".redbLock").
public string ReadLockMarkerFileExtension { get; set; }
ReadLockMinAge
Minimum age in milliseconds for 'Changed' strategy — file must be unchanged for this long (default: 1000).
public long ReadLockMinAge { get; set; }
ReadLockTimeout
Timeout in milliseconds for acquiring a read lock (default: 10000).
public long ReadLockTimeout { get; set; }
Methods
Validate()
Validates required parameters and constraints. Called after BindFromUri.
public override void Validate()