/drools-poc

Drools Rules Engine Exercise

Primary LanguageJava

drools-poc

Drools Rules Engine Exercise

Simple program to exercise Drools

  1. Reads rules from standard input
  2. Writes to standard output when rules are triggered

Main program: com.sample.DroolsTest

Build using mvn clean install

Test data: test

Shows how rules are defined

Script for running: run1 (may need to be adapted to your env. Copied from eclipse)

Run as: bash run1 < test