Drool Processor
The Drool Processor enables rule-based processing of incoming data using the Drools Rule Engine.
Users must create a JAR file containing the rules, either manually or using Drools Workbench (Kie JAR), and upload it to the processor for execution.
Configuration
Add a Drools Processor to your application and right-click on it to open its configuration settings.
Drool Source
Specify the Drool JAR source: If the Drools JAR is created using Workbench, select the Kie JAR option. Otherwise, select Other JAR.
Upload File
Upload the JAR file based on the selected Drool source type.
Select Files
If “Other JAR” is selected, this option lists all relevant Drools files found in the uploaded JAR. Select the required files for the application.
Fact Class Names
Displays all detected Fact classes from the uploaded JAR. Select the Fact classes you want to use. If a desired Fact class is not listed, manually enter its fully qualified class name.
Output Fact Class
Specifies the final Fact class whose processed data will be sent to the next component in the application. Select the Fact class for further processing.
ADD CONFIGURATION
Allows additional properties to be configured.
Usage
Once the Drools Processor is configured, it will apply the uploaded Drools rules to the incoming data and generate processed output based on the defined rules. The output Fact class will be forwarded to the next stage in the application.
If you have any feedback on Gathr documentation, please email us!