Quinn, Dan wrote:
We are writing an app which has a large number of facts. This app also
needs to make lots of queries against working memory. Our memory
footprint seems to be expanding at an undesirable rate due to the
number of queries made against working memory. It is increasing at a
rate
Drools 5.0 solves this much more elegantly, via the CommandExecutor,
which even has built in xml marshalling for remote services. You can see
all the command we impl in the unit test here:
http://fisheye.jboss.org/browse/JBossRules/trunk/drools-pipeline/drools-transformer-xstream/src/test/java/
what version of drools are you using? because in Drools 5.0 fusion is
in charge of temporal evaluations.
Greetings
2009/4/30 :
>
> I have a need to "expire" some facts based on time. In other words, if an
> event occurs some time and if sufficient time has gone by, the fact should
> become inonse
rsund...@aretus.biz wrote:
I have a need to "expire" some facts based on time. In other words, if
an event occurs some time and if sufficient time has gone by, the fact
should become inonsequential and be retracted. Here is my simple rule
to do this:
*rule*"Retract expired facts"
*dialect*
If you can use Drools 5, then try out event expiration in stream mode using
drools fusion:
https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-fusion/html_single/index.html#d0e1086
If you can't do that, you'll need an extra control object that's inse
Yeah, I've gotten about 40 old messages today. Also I replied to a message
today and haven't seen it sent back to me yet.
Well, why am I even replying to this, then. :) If nobody sees this message
until November, I hope you all went to ORF2009. :D
--- On Fri, 5/1/09, Ingomar Otter wrote:
>
Running the latest 5.0.1 snapshot jars and it can handle enums fine. See
attached code. It should print out the following output when run:
Hello World
Goodbye cruel world
At some point I said GOODBYE
OK_I_AM_SERIOUSLY_SAYING_GOODBYE_NOW is the current status AND at some point I
said HELLO
At s
Hi,
We are attempting to use a rule flow in Guvnor 5.0.0 CR1. When we use the
internal data model, we get an error that essentially reads "
java.lang.IllegalArgumentException: OR split could not find at least one valid
outgoing connection for split"
When we use an external data model (model in
Hello Everybody,
I'm a newbie to Drools, so please excuse me, if question is very
fundamental.
I'm not using drools with eclipse or brms.
I would like to convert the drl file which I had created using a text editor
to the binary form ie. in pkg format (serialized), which can be used im my
Java appl
you can start a process from a rule consequence like this:
drools.getKnowledgeRuntime().startProcess("com.sample.MyProcess");
https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-flow/html/ch03.html#d0e237
On Mon, Jun 16, 2008 at 1:50 PM, Yoni Mazar
Do you want to use Drools to determine which elements are added to the listbox?
Earnie!
From: sreenivas555
To: rules-users@lists.jboss.org
Sent: Wednesday, April 22, 2009 8:58:09 AM
Subject: [rules-users] listbox in DSL
Hi All,
I want to create a listbox (m
Hello,
remove the final modifier for the getHomePage method, it's a problem related to
shadowProxies, as they are CGLIB proxies they cannot proxy final methods...
-Patrick
-Message d'origine-
De : rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org]de la p
You are right Edson.
I also have another rule with less salience value that does < comparison. my
attention was completely on first rule which does null check and thinking
that was causing the issue :(. Good find and thanks again for the help.
Edson Tirelli-3 wrote:
>
> Techy,
>
> I
What does the arrow ("->") mean in a rule file? I've searched on Google,
looked through the Drools documentation, and haven't been able to find out
what it does.
It appears in the autocomplete of my IDE for Drools, and I've seen it in an
example in the JBoss Seam documentation, but am unable to t
Hello
You can set any attribute as the time clock
You have to add an annotation
It is in the fusion doc
Sorry for my late answer but I am on holidays :)
Regards
Nicolas
2009/4/27 cyphr
>
> Thanks Nicolas,
> I looked into Drools-fusion over the weekend - interesting!
> i noticed that the events a
testing 12
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
Is anyone else receiving old list messages? I have received over 20 with some
dated as far back as June 2008.
Earnie!___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
I'm new to the mailing list so I'll start off by saying hello to everyone.
I've recently started using DROOLS and I seem to have hit a dead end. I'm
trying to pass in an enum and a list into the working memory one at a time
but I would like my rule to first see if it the enum matches a hard coded
e
It seems that the rules-users list is experiencing either massive
delays or duplicate delivery.
See message below which reached me today.
Should you experience the same effect, I have indicated this to
"rules-users-owner" so it is known
Cheers,
Ingomar
Von: David Boaz
Datum: 17. Augus
try using double \ inside evals and consequences... not sure if it will
work, but try it out... this should all be fixed in drools 5.
2008/8/27 samlotti
>
> Hello,
>
> I'm trying to construct a rule in drool V4 that contains and eval and a
> literal string that may contain quotes. I've tried
Benoit,
Could you try this with Drools 5 to see if you still have problems? I just
tried with that and each rule fired as expected.
2008/8/20 Benoit VILLAUMIE
> Hello,
>
> I am using Drools engine 4.0.7 and Eclipse 3.3 drools plugin.
>
> I have a very basic/dumb problem but I do not understand
rule "at least one element from the array starts with abc"
when
ABC( $array : array )
exists( String( this matches "abc.*" ) from $array )
then
// do something
end
2008/6/25 ygaurav
>
> Hi All
>
> i am new to drools and I am hoping that some body can help me out here.
>
> I data in
In the M5 release, I could use a Boolean global as an Out type parameter and
changes I made to the global would be maintained in the results. In CR1, I
use the CommandFactory to add the global with out set to true, and I get
back the initial value of the Boolean, not the updated value.
Here's a
Yoni,
The way I do this is within the ruleset. I have an initialization rule
that looks something like this:
when
then
drools.getWorkingMemory().startProcess("ruleflow id");
end
By not putting anything in the "when" clause, the rule gets activated
and put on the agenda first.
Dan
=
I'm using various KnowledgeBase objects in a J2EE environment, using JBoss
4.2 as the application server. Currently, I keep a list of KnowledgeBase
objects in a stateless session bean. The thought being that to keep the
application scalable, we don't want contention around rule sessions.
However,
I was inserting the wrong object in to the session.
From: Bhamidi, Krishna
Sent: Thursday, April 30, 2009 3:21 PM
To: 'Rules Users List'
Subject: RuleFlow and Internal Model
Hi,
We are attempting to use a rule flow in Guvnor 5.0.0 CR1. When we use the
internal d
The broker console example is work in progress in the sense that I intent
to add more features to it along the way, but what is there now works and
serves as an introduction.
A whole lot of documentation was also added after CR.
Check out trunk and build the docs and the example. It is a
Hi all,
I'm seeing consistency issues when trying to refresh rules manually. I am
seeing issues with sessions getting different results while I call this
function in a loop. Is there a more proper way of migrating the sessions over
to a rules base that has updated rules?
/**
* Funct
Hi,
Yes it is optional, it's a convention...
-Patrick
-Message d'origine-
De : rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org]de la part de Harsh Jetly
Envoyé : mardi, 24. juin 2008 06:55
À : rules-users@lists.jboss.org
Objet : Re: [rules-users] Begginne
I was wondering if it's safe to use the KnowledgeAgent inside of a JEE
container. I'm assuming that the KnowledgeAgent implementation spawns a
thread to poll for changed resources (to reinitialize a KnowledgeBase, for
instance, when updated DRL files are detected). Normally, use of unmanaged
thread
I was following that subject on markmail, and them I've enterred the
user-group (so subject and body are coppied from them). I've got the
exactly same problem. When I use the rules with objects the came from the
database (thru JPA hibernate provider), thouse rules never match. When I
do the same fr
I have a need to "expire" some facts based on time. In other words, if an event occurs some time and if sufficient time has gone by, the fact should become inonsequential and be retracted. Here is my simple rule to do this:
rule"Retract expired facts"
dialect"mvel"
// salience -5
when
e1 :
Hello
I'm Emmanuel from France. (sorry for my English)
We use drools 4.0.7 in a hospital application.
We load drools and our programs (services) with tomcat Devloader (5.5.9)
We use drools in statefullsession (retract and insert facts by rules in a
ruleFlow).
everything is perfect for us, except
33 matches
Mail list logo