Skip to main content Skip to complementary content

Configuring the basic settings of the tBRMS component

Procedure

  1. Click tBRMS to open its Basic settings view.
  2. Click [...] next to Edit schema to open the schema editor.
    The input schema to the left is automatically retrieved from tMap.
  3. In the output area, click [+] to add a new column which will serve to write the output data to an XML file.
    1. Enter a name for the column.
    2. Define the Type as String.
    Click OK to validate your changes and close the dialog box.
  4. From the XML Field list, select the name of the XML column you entered in the output schema.
  5. From the Choose rule module list, select Use latest deployment from Drools workbench to download the Jar file from the Drools repository.
  6. From the Choose distribution list, select Redhat Decision Manager 7.3.
  7. In the Drools Workbench Url, enter the address of the Drools Workbench .
  8. Type in the user name and the password used to connect to the Drools Workbench.
  9. 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.
  10. Click [...] to browse the Jar files in the Select Package dialog box and select the jar package org.talend.bank for this example.
  11. 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 Talend 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.
    Information noteNote: If the shared mode is enabled, the path to the Drools folder has changed to C:/Users/user-account/studio-path/Drools/<project_name>. For more information, see Shared mode for Talend Studio in the Talend Installation Guide.
  12. 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.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!