How to add a component between two connected components

Talend Studio Developer Guide

EnrichVersion
Cloud
EnrichProdName
Talend Integration Cloud
task
Design andĀ Development

When designing a Job, you can insert a component between two components linked by a Row connection, provided that the new component can serve as a middle component between the two.

The examples below show different options for you to insert a tMap between a tFileInputDelmited and tMySqlOutput linked by a Row > Main connection. For how to connect components in a Job, see Connecting the components together. For more information about various types of connections, see Connection types.

Dropping the component from the Palette onto the connection

  1. From the Palette, locate and select tMap.

  2. Drag the component and drop it onto the Row connection.

    If you are prompted to give a name to the output connection from the newly added component, which is true in the case of a tMap, type in a name and click OK to close the dialog box.

    Note

    You may be asked to retrieve the schema of the target component. In that case, click OK to accept or click No to deny.

    The component is inserted in the middle of the connection, which is now divided into two connections.

Adding the component by typing on the connection

  1. Click on the connection that links the two existing components to select it.

  2. Type the name of the new component you want to add, tMap in this example, and double click the component on the suggested list to add it onto the connection.

  3. If you are prompted to give a name to the output connection from the newly added component, which is true in the case of a tMap, type in a name and click OK to close the dialog box.

    Note

    You may be asked to retrieve the schema of the target component. In that case, click OK to accept or click No to deny.

    The component is inserted in the middle of the connection, which is now divided in two connections.

Adding the component to the design workspace and moving the existing connection

  1. Add the new component, tMap in this example, onto the design workspace by either dropping it from the Palette or clicking in the design workspace and typing the component name.

  2. Select the connection and move your mouse pointer towards the end of the connection until the mouse pointer becomes a + symbol.

  3. Drag the connection from the tMySqlOutput component and drop it onto the tMap component.

  4. Connect the tMap component to the tMySqlOutput using a Row > Main connection.