Click [...] next to
Edit schema to open the schema
editor.
The input schema to the left is automatically retrieved from
tMap.
In the output area, click [+] to add a new column which will serve to write the output data to
an XML file.
-
Enter a name for the column.
-
Define the Type as
String.
Click OK to validate your
changes and close the dialog box.
Next to Module List, click
[...] to open the Deploy Package dialog box.
In this dialog box, the URL, Username and Password fields are already filled with the
corresponding information you entered in the earlier steps.
From the list next to the selected jar package, select the class
org.talend.bank.LoanSimulator and then click OK to close the dialog box.
A
Talend
program transforms the business rule library into a form which can be
used in the Job and creates an XSD file at the root of your studio, at
/studio_path/Drools/<project_name>. The XSD file
records the mapping between the incoming data flow and the objects to be handled by
the Drools engine.
In the Drools Flow ID
(optional) field, enter, between quotation marks, the ID of Drools
flow to be used when executing the rules of interest.
In this example, it is loanflow. For more
information about Drools flow, see the relevant Drools manuals.