summaryrefslogtreecommitdiffstats
path: root/branches/sca-equinox/demos/workpool-distributed/workerRules2.drl
blob: 9d9551c3eadac180f91c522c54877aba6084a2a1 (plain)
1
2
3
4
5
6
7
8
package workpool
import workpool.*;
rule "WorkerAverageService"
	when 
		$workerBean: WorkpoolBean(jobComputed > 250)
	then
		$workerBean.addWorkerToNode("nodeB");
end