Defining connections between components in a Job script
addConnection{} properties
Function | Description | Mandatory? |
---|---|---|
TYPE |
Type in the type of connection used in the component, for example: FLOW, REJECT, and so on. |
Yes |
NAME |
Give a name to the connection. |
Yes |
LINESTYLE |
Define the style of the connection. Commonly used values:
|
No |
SOURCE |
Type in the name of the source component. |
Yes |
TARGET |
Type in the name of the target component. |
Yes |
MONITOR_CONNECTION |
Set this parameter to true to monitor the data flow over the connection. The measured information will be interpreted and displayed in a monitoring tool such Talend Activity Monitoring Console. For information about Talend Activity Monitoring Console, see Talend Activity Monitoring Console User Guide. By default, this parameter is set to false. |
No |
Example
The following Job script example shows how to define a Row > Main connection between tFileInputDelimited_1 and tLogRow_1.
addConnection {
TYPE: "FLOW",
NAME: "row1",
LINESTYLE: 0,
METANAME: "tFileInputDelimited_1",
SOURCE: "tFileInputDelimited_1",
TARGET: "tLogRow_1"
}
}