diff options
Diffstat (limited to 'branches/sca-java-1.x/demos/workpool-distributed/workerRules1.drl')
-rw-r--r-- | branches/sca-java-1.x/demos/workpool-distributed/workerRules1.drl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/branches/sca-java-1.x/demos/workpool-distributed/workerRules1.drl b/branches/sca-java-1.x/demos/workpool-distributed/workerRules1.drl new file mode 100644 index 0000000000..6fa0b85ba2 --- /dev/null +++ b/branches/sca-java-1.x/demos/workpool-distributed/workerRules1.drl @@ -0,0 +1,9 @@ +package workpool +import workpool.*; +rule "WorkerAdder" + when + $workerBean: WorkpoolBean(averageServiceTime > 250) + then + $workerBean.addWorkerToNode("nodeB"); + $workerBean.setSingleAction(); +end |