| OrchestratorConfigIntakeInitializer Property |
A function intended to initialize any intake sources (such as open files or database connections) and related resources that may be needed by the
TextIntakeSupplier or
AsyncTextIntakeSupplier function.
Data Conveyer calls this function a single time before starting the actual orchestrator processing, such as invocations of
TextIntakeSupplier function, if one is defined.
However, if
TextIntakeSupplier or
AsyncTextIntakeSupplier function is not defined; then this function is not called.
The
IntakeInitializer function accepts a single parameter (
IGlobalCache) and returns a string (Func<IGlobalCache, string>).
Null returned value means successful initialization; otherwise, an error message indicating reason for the failure is expected to be returned (Data Conveyer will log this message).
In case of failure, the processing will end in the
InitializationError status.
If not defined, default
IntakeInitializer simply returns null, i.e.:
Namespace:
Mavidian.DataConveyer.Orchestrators
Assembly:
DataConveyer (in DataConveyer.dll) Version: 3.4.6+1324144ff7
Syntax public Func<IGlobalCache, string> IntakeInitializer { get; set; }
Public Property IntakeInitializer As Func(Of IGlobalCache, String)
Get
Set
Property Value
Type:
FuncIGlobalCache,
StringSee Also