You could hold them all in a single KnowledgeBase with State, FactorY
and FactorX as Facts themselves checked in the Rules' RHS.
You could still have multiple DRL files (to aid authoring and maintenance)
but load them all at once. The RETE network shares nodes for patterns shared
across multiple
I'd definitely suggest this approach. Compiling DRL files into a knowledge base
is very expensive and something you want to avoid doing as much as possible
and probably wouldn't come anywhere close to meeting your performance
requirements!
Thomas
From: rules-users-boun...@lists.jboss.org
Done... https://issues.jboss.org/browse/JBRULES-2928
Chris
On 16/03/2011 18:33, Edson Tirelli wrote:
This is JCI code that we inline. We should probably check if there
is a new JCI version that fixes the problem if it is indeed a problem.
Can I ask you please to open a JIRA with the
Hello all
I need to migrate from 4.0.7 drools to 5.1, could you please give some
advices and links?
We have drools JBRMS 4.0.7 app with lots of rules, persisted in Oracle. We
haven't any .drl files for these rules. I've tried to export these rules via
export feature from JBRMS 4 and then import
Edison, first of all, thanks for your quick reply!
Those initial words caught my attention, although: “By default, Drools does not
start any internal thread”…
What do you mean “by default”?
I know there are ways to force the event to be expired but I’m looking for a
solution that doesn’t
Have you looked at fireUntilHalt?
From: rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Makewise - Vitor Rui
Mendonça
Sent: 17 March 2011 11:20
To: 'Rules Users List'
Subject: Re: [rules-users] Basic doubt regarding Drools Fusion - @expires
Edison,
Hi,
I'm encountering a strange problem with debugging an Drools
application in Eclipse Platform. I couldn't find any help in the
internet. Also, i can't find any previous post in this mailing list.
Please try to help me.
My Platform details are below:
Thanks everyone for your inputs
Yes, so the confusion that I have is, with loading multiple drls. If I load
all the drls in memory(may be 100s), does it mean that when I say
fireallRules, it is going to run the rules from all the drls?? That is what
I don't want.
For a particular session at
Thanks for the answer. Yes, it may be easier to achieve with simple date fact
but we have thousands of rules and each and every one of them has this temporal
requirement. I was thinking along the lines of SessionClock. I know there is a
'realtime' and 'pseudoclock' implementation of it. May be
Hi all,
I want to make Connectivity to a external Database through my Drool Guvnor
so that I can directly create rules on attributes of that tables of
Database.
Please suggest me some way to solve this problem.
Thanks in Advance.
Kedar.
___
rules-users
You lost me. Why are you defining a rule to retract your event? If you
are running in STREAM mode, @expires will take care of the retraction for
you automatically...
Regarding threads, I said by default because there is an experimental
feature that makes drools start internal threads, but
Actually what you want is that only the rules from the DRLs that you want are
activated and their consequences run (a subtle but important distinction). Put
another way it doesn't matter how many rules are in the knowledge base and
evaluated as long as only the rules you want are matched.
Don't forget Facts are matched as they are inserted into WorkingMemory too.
fireallRules() only executes the resulting activations on the agenda - that
as Thomas states can be controlled by a number of means.
On 17 March 2011 14:04, Swindells, Thomas tswinde...@nds.com wrote:
Actually what you
Has the performance problem with fireUntilHalt been fixed in 5.2?
--- On Thu, 3/17/11, Makewise - Vitor Rui Mendonça vitor.mendo...@brisa.pt
wrote:
From: Makewise - Vitor Rui Mendonça vitor.mendo...@brisa.pt
Subject: Re: [rules-users] Basic doubt regarding Drools Fusion - @expires
To: 'Rules
To be honest, I believe so, but didn't profiled it extensively. I used
fireUntilHalt() in my Webinar yesterday on a live demo and it worked nicely.
Edson
2011/3/17 Greg Barton greg_bar...@yahoo.com
Has the performance problem with fireUntilHalt been fixed in 5.2?
--- On *Thu, 3/17/11,
Yes, but I just fired up a small project using it and it used 100% of CPU. If
you build the attached project you'll see the tests run just fine. (They use
fireAllRules.) If you launch from the commandline, (java -jar
target/DroolsBoxes-1.0.jar) which uses fireUntilHalt, the rules fire (and
Yes, please. Thank you,
Edson
2011/3/17 Makewise - Vitor Rui Mendonça vitor.mendo...@brisa.pt
I forgot to mention that I’m running in stream mode, yes J
I’m having problems regarding event expiration: I define events with
@expires(1h) but they won’t disappear, I had to write some
Greg,
I will look into that. Trunk is under heavy work right now, so it will
probably not work.
Edson
2011/3/17 Greg Barton greg_bar...@yahoo.com
Yes, but I just fired up a small project using it and it used 100% of CPU.
If you build the attached project you'll see the tests run
Hello,
In section 4.7.2 of the Drools Expert User Guide, it states: Metadata may
be assigned to several different constructions in Drools: fact types, fact
attributes and rules. I could not figure out how to attach metadata to a
rule. Is this feature available?
Thanks,
Peter
Hello; I am aware of the fundamental difference between inserting facts--and
evaluating them against all the rules in the rule base--and firing
rules--i.e., executing only certain rules' consequences.
I understand that ruleflow-group and agenda-group and activation-group can
all be employed to
anyone can help address this question?
Thank you!
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/How-to-trigger-a-certain-task-within-an-ad-hoc-subprocess-tp2684050p2696477.html
Sent from the Drools - User mailing list archive at Nabble.com.
I've noticed that the LHS of the Eclipse Guided Rule Editor can employ DSL
sentences or an object model, but there doesn't seem to be a manner to
incorporate the DSL on the RHS of rules (other in free form code)
Is that by design? Or is there some property that can enable the dialog
Messages can be sent to a process that has been started to get it to wake
up from a wait state.
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/How-to-trigger-a-certain-task-within-an-ad-hoc-subprocess-tp2684050p2696496.html
Sent from the Drools - User
Take a look at the documentation of the from keyword
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Connectivity-with-Database-tp2693512p2696533.html
Sent from the Drools - User mailing list archive at Nabble.com.
24 matches
Mail list logo