diff options
Diffstat (limited to 'branches/trunk-20080910/demos/workpool-distributed/workerRules1.drl')
-rw-r--r-- | branches/trunk-20080910/demos/workpool-distributed/workerRules1.drl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/branches/trunk-20080910/demos/workpool-distributed/workerRules1.drl b/branches/trunk-20080910/demos/workpool-distributed/workerRules1.drl new file mode 100644 index 0000000000..6fa0b85ba2 --- /dev/null +++ b/branches/trunk-20080910/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 |