Ruleflow groups allow you to group rules together and rules inside a ruleflow
group only execute when the ruleflow-group is active. You can use ruleflow
groups inside a ruleflow but they can be used outside ruleflows as well. You
could manually activate and deactivate ruleflow groups using
wo
Bagwell, Allen F wrote:
I'm writing rules in different agenda groups and witnessing something
curious.
Right now when I put my fireAllRules() in a callback that is triggered
every couple of seconds I have to do this:
Callback executes on receipt of a heartbeat message:
{
session.setFoc
I'm writing rules in different agenda groups and witnessing something curious.
Right now when I put my fireAllRules() in a callback that is triggered every
couple of seconds I have to do this:
Callback executes on receipt of a heartbeat message:
{
session.setFocus("my_agenda");
session.fi
Suppose I have a "Measurement" class, with a getName() method that
returns a String and with a getValue() method that returns an Object.
Sometimes the Object is a String, sometimes a Integer, sometimes a
Double. I know that a "Foo" Measurement must be an integer, so I could
cast (or otherwise coer
I post a test case in the JIRA
Mark Proctor wrote:
>
> Mock classes?
>
> vdelbart wrote:
>> I create a JIRA : http://jira.jboss.com/jira/browse/JBRULES-1590
>>
>> it's to complicate to me to create an unit test with a hibernate session.
>>
>> thanks,
>>
>> V.
>>
>>
>> Mark Proctor wrote:
>>
Search the mailing list, this question has been asked a number of times.
Use nabble, gmane or markmail. Seach for statefulsession and I'm sure
you'll find lots of information.
Mark
anandhakrishnan wrote:
Hi thanks for your message...
but the below is what given in the manual...
HI,
Thanks for explanation.
I understood from ur words, but still i have one doubt.
What is the necessary of creating so many WM object, in what scenario it is
applicable, please one example...
thanks in advance
Anstis, Michael (M.) wrote:
>
> It will occur whenever you (the develope
anandhakrishnan wrote:
Please Explain, RuleBase 1:n relationship with Working memory, when will it
occur.
Please give an example
rtfm
thanks In Advance
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailma
Hi thanks for your message...
but the below is what given in the manual...
=
The Rule Base also holds references to any stateful session that it has
spawned, so that if rules are changing (or being added/removed etc. for long
running sessions), they can be updated with the late
It will occur whenever you (the developer) make it occur.
I guess Rulebase is the RETE network (without memory nodes) and the WM's are
in essence the RETE network memory nodes.
This is my interpretation of their roles.
Here's an example:-
Rulebase
RuleBase ruleBase = RuleBaseFactory.ne
Have you read the manual?
I would really, really suggest you do.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of anandhakrishnan
Sent: 28 April 2008 15:37
To: rules-users@lists.jboss.org
Subject: [rules-users] StateFullSession / StatelessSession
What
What happens when retract method is called.. does it throws any
nullpointerexception or
what is happening at the backend.(in the engine)
thanks in advance!
--
View this message in context:
http://www.nabble.com/Retraction-In-Engine-tp16940381p16940381.html
Sent from the drools - user mailing
What are statefulsession rules and statelesssion rules,
What is the difference,
Can I get any example
When shud i use statefullsession, and when shud i use statelesssession
Please help
thanks in advance
--
View this message in context:
http://www.nabble.com/StateFullSession---Stat
I have A Rulebase, Is it possible to assign to current workingmemory..
I have a rulebase object, Is it very must to create new workingmemory
else is it possible to assign workingmemory...
Thanks in advance.
--
View this message in context:
http://www.nabble.com/Rulebase-assignment-to-Working
Please Explain, RuleBase 1:n relationship with Working memory, when will it
occur.
Please give an example
thanks In Advance
--
View this message in context:
http://www.nabble.com/RuleBase-relation-with-working-memory-tp16940200p16940200.html
Sent from the drools - user mailing list archive
Mock classes?
vdelbart wrote:
I create a JIRA : http://jira.jboss.com/jira/browse/JBRULES-1590
it's to complicate to me to create an unit test with a hibernate session.
thanks,
V.
Mark Proctor wrote:
Can you open a JIRA for this? If you provide a unit test with it, we'll
see if we can i
vdelbart wrote:
Hello,
for hibernate reason I disable shadow facts; however I have 'update' like
this :
rule "e"
when
...
then
obj.attr = "other";
update(obj);
end
and I can confirm, I have an "unpredictable behavior".
Could I replace this sentence by this :
rule "e"
when
...
Hello,
for hibernate reason I disable shadow facts; however I have 'update' like
this :
rule "e"
when
...
then
obj.attr = "other";
update(obj);
end
and I can confirm, I have an "unpredictable behavior".
Could I replace this sentence by this :
rule "e"
when
...
then
retract(o
I create a JIRA : http://jira.jboss.com/jira/browse/JBRULES-1590
it's to complicate to me to create an unit test with a hibernate session.
thanks,
V.
Mark Proctor wrote:
>
> Can you open a JIRA for this? If you provide a unit test with it, we'll
> see if we can include this in 4.0.7. 5.0 wi
(Monday morning, back in the office.)
Ah, thanks! I took out the final keywords and sure enough, it works.
Read the page link you provided. Good info there. I hadn't really delved into
shadow facts much yet. Thanks for clearing this up!
:-)
-A
From: [EMAIL PRO
Please direct your e-mails to the list and I will respond if I can.
I have used both tomcat 5.5 and tomcat 6 with Drools 4.x (4.04 I think) and
it was completely transparent. I haven't published any advice, although I
think the docs are a little lacking on decision tables, which is primarily
how w
Hi,
We created a brl rule using guided editor in Eclipse 3.3
On trying to create a rule package we are getting a 'MissingPackageName'
exception.
As like a brl rule created in BRMS, on eclipse, the DRL source of the
created brl shows only the rule body `with the exception of the package
statement
22 matches
Mail list logo