Slinding window !
by Hassan
Hi guys,
While trying to understand how slinding window work, I realize that all
exemples are given with "accumulate" or "collect" functions , I din't know
why ??
$a : List() from collect(Event1() over window:time(2s) from entry-point
"point")
// work
Bur why
$a : Event1() over window:time(2s) from entry-point "point")
doesn't work ??!
Thanks,
Youssef AZBAKH
--
View this message in context: http://drools.46999.n3.nabble.com/Slinding-window-tp3783772p3783772.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
14 years, 3 months
Order of Execution on Messages
by gboro54
We are currently authoring rules using Drools 5.3 and using jBPM 5.2 for
orchestration. The situation we have is as follows: Certain groups of rules
can execute on n number of messages in any order(i.e the order in which the
consequences occur does not matter). The problem comes in later in the
process when those same n messages need to have their consequences happen in
a certain order. Is there a good way to handle this? We have thought about
appending messages to a queue and just operating on one message at a time
however this seems slow. In addition when utilizing jBPM and drools what is
the best way to batch data in and out of the session. I understand starting
a new session is cheap but was hoping there may be a way to have jBPM insert
n records at a time and just continue to read from the db until no more
records are returned.
TIA!
--
View this message in context: http://drools.46999.n3.nabble.com/Order-of-Execution-on-Messages-tp378401...
Sent from the Drools: User forum mailing list archive at Nabble.com.
14 years, 3 months
Drools facts using POJO accessor methods error
by aliosha79
Hi,
i have some troubles to undestand how drools processes FACTS. I have a POJO
class resulted from an UnMarshal jaxb processing like this:
public MyClass {
protected String className = "Class1";
public getClassName(){
return className;
}
public setClassName(String className){
this.className = className
}
}
Now i have to compose a drl file with a rule like this:
when
$Class : MyClass()
eval ($Class.getClassName() == "Class1")
then
System.out.println("ok!!!");
end
This syntax doesn't rise errors BUT doesn't match the real name... no ok
message are printed.
when
$Class : MyClass (getClassName() == "Class1")
then
System.out.println("ok!!!");
end
This syntax raises me a null pointer exception!!!
What's the right syntax?
Can i use the accessor methods building drools facts?
Thanks a lot!
--
View this message in context: http://drools.46999.n3.nabble.com/Drools-facts-using-POJO-accessor-method...
Sent from the Drools: User forum mailing list archive at Nabble.com.
14 years, 3 months
jboss tohu
by Olfa h
hi,
can someone help me to deploy jboss tohi 1.2.0 into jboss 4.3.2 and eclipse
indigo ?????????????????
thx
14 years, 3 months