Click or drag to resize

OrchestratorConfigOutputInitializer Property

A function intended to initialize any output targets (such as open files or database connections) and related resources that may be needed by the TextOutputConsumer or AsyncTextOutputConsumer action. Data Conveyer calls this function a single time before starting the actual orchestrator processing, such as invocations of TextOutputConsumer function if one is defined. However, if TextOutputConsumer or AsyncTextOutputConsumer action is not defined; then this function is not called. The OutputInitializer function accepts a single parameter (IGlobalCache) and returns a string (Func<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). This function may remain not called in case of failure of prior initializer (IntakeInitializer), in which case the processing will result in the InitializationError status. If not defined, default OutputInitializer function simply returns null, i.e.:
gc => null

Namespace:  Mavidian.DataConveyer.Orchestrators
Assembly:  DataConveyer (in DataConveyer.dll) Version: 3.4.6+1324144ff7
Syntax
public Func<IGlobalCache, string> OutputInitializer { get; set; }

Property Value

Type: FuncIGlobalCache, String
See Also