Hi,
I am using the following rule
package com.demo;
import com.sample.model.Product;
import com.sample.model.Products;
import java.util.List;
import java.util.Set;
dialect "mvel"
rule "Product_0"
no-loop
when
Product(id: hlId) accumulate (e :Product(hlId == id), $sum1 : sum(e.t1) )
then
insertLogical("hid=" + id +",T1=" + $sum1);
end
I am inserting facts (Product objects) into it and firing the rules.
When i took performance stats from visual vm with JMX. got a time of
3832ms. I can you suggest if i am doing any thing wrong with this.
Regards,
Raja Sekhar
--
Raja Sekhar Amirapu
------------------------------------------------------
"If any anyone can do it, i can do it. If no one else can do it, i must do
it"