Configuring the second subjob – Docs for ESB 6.x
Configuring the second subjob Double-click tFileFetch_2 to open its Component view. From the Protocol list, select http. In the URI field, type in the address from which you fetch the files of your interest. In this example, the address is http://www.codeproject.com/script/articles/download.aspx?file=/KB/DLL/File_List_Downloader/FLD02June2011_Source.zip&rp=http://www.codeproject.com/Articles/203991/File-List-Downloader. In the Destination directory field, type in the directory or browse to the folder…
Configuring the service call – Docs for ESB 6.x
Configuring the service call Double-click the tRESTClient component to open its Basic settings view. Fill the URL field with the URL of the REST service you are going to invoke, “http://localhost:8088/users” in this example. Note that the URL provided in this use case is for demonstration purposes only and not a live address. From the…
Configuring the tESBConsumer component – Docs for ESB 6.x
Configuring the tESBConsumer component In this scenario, a public web service which is available at http://www.webservicex.net/ValidateEmail.asmx will be called by the tESBConsumer component to returns true or false for an email address. You can view the WSDL definition of the service at http://www.webservicex.net/ValidateEmail.asmx?WSDL for the service description. In the design workspace, double-click the tESBConsumer component…
Configuring the tFileOutputDelimited component – Docs for ESB 6.x
Configuring the tFileOutputDelimited component Double-click tFileOutputDelimited to set its Basic Settings in the Component tab. Next to the File Name field, click the […] button to browse your directory to where you want to save the output file, then enter a name for the file. Select the Include Header check box to retrieve the column…
Configuring the tFixedFlowInput component – Docs for ESB 6.x
Configuring the tFixedFlowInput component Double-click the tFixedFlowInput component to open its Basic settings view in the Component tab. For users of Talend Studio with ESB who have retrieved the schema from the service WSDL definition in the configuration of the tESBConsumer component, select Repository from the Schema list. Then click the […] of the next…
Configuring the tJavaFlex component – Docs for ESB 6.x
Configuring the tJavaFlex component Double-click tJavaFlex to display its Basic settings view and define its properties. Click the three-dot button next to Edit schema to open the corresponding dialog box where you can define the data structure to pass to the component that follows. Click the [+] button to add two columns: key and value…
Configuring the tJavaRow component – Docs for ESB 6.x
Configuring the tJavaRow component Double-click tJavaRow to display its Basic settings view and define the components properties. Click Sync columns to make sure that the schema is correctly retrieved from the preceding component. In the Code field, enter the following code to display the content of the input file and pass the data to the…
Configuring the tJava component – Docs for ESB 6.x
Configuring the tJava component Then select the tJava component to set the Java command to execute. In the Code area, type in the following command:
|
1 2 3 |
String var = "Nb of line processed: "; var = var + globalMap.get("tFileInputDelimited_1_NB_LINE"); System.out.println(var); |
In this use case, we use the NB_Line variable. To access the global variable list, press Ctrl + Space bar on your keyboard and select the relevant global parameter….
Configuring the tRESTRequest component – Docs for ESB 6.x
Configuring the tRESTRequest component Drop the following components from the Palette onto the design workspace: a tRESTRequest, two tXMLMap and two tRESTResponse. Double-click tRESTRequest in the design workspace to display its Basic settings view. Fill the REST Endpoint field with the URI location where the REST-ful web service will be accessible for requests. For example,…
Configuring the tMysqlInput component – Docs for ESB 6.x
Configuring the tMysqlInput component Double-click tMysqlInput to open its Basic Settings view in the Component tab. Warning: The dynamic schema feature is only supported in Built-In mode. Select Built-in as the Property Type. Select the DB Version from the corresponding list. Next to Host, enter the database server IP address. Next to Port, enter the…