List Info

Thread: Re : Drools 4.0.x branch has still some issues with serialization




Re : Drools 4.0.x branch has still some issues with serialization
user name
2008-03-14 01:31:42
 
Hi Drools Team,
 
I have checked out Drools 4.0.x branch & found that all my test scenarios with "Dynamic Rules"; are now working fine .
 
Thanks a lot for fixing the issues so promptly. I appreciate it !!!
 
Now, we will definitely use Drools in our application.
 ;
I have a Good To have feature request for Drools:   "Include check for duplicate objects being asserted into Working Memory & don't generate any activation for such objects or silently don't assert them at all in WM."  I tested this scenario with JESS, they are already doing that. This will save Drools user from doing duplicate check, which ;is bit costly now.
Or can you please suggest me any simple way, by which still I can achieve this in Drools ?
 ;
Thanks & Happy Drooling
Siddhartha
 
Re: Re : Drools 4.0.x branch has still some issues with serialization
user name
2008-03-14 05:53:09

    Good to know. Thanks for the feedback.

    Drools has 2 configurations for what you want:

1. If you want to completely deny the "existence" of 2 or more equals() objects in the working memory, change the assert behavior to EQUALITY based. The default behavior is IDENTITY based:

drools.assertBehaviour = <identity|equality>
or
RuleBaseConfiguration.setAssertBehavior()

2. If you want to allow existence of equals() objects in the working memory, but want each fact matching at most one pattern in your rule, set removeIdentities to true:

drools.removeIdentities = <true|false>
or
RuleBaseConfiguration.setRemoveIdentities()


 &nbsp;  []s
   ; Edson

2008/3/14, siddhartha banik < siddhartha.banikgmail.com">siddhartha.banikgmail.com>:
 
Hi Drools Team,
&nbsp;
I have checked out Drools 4.0.x branch & found that all my test scenarios with "Dynamic Rules"; are now working fine .
 
Thanks a lot for fixing the issues so promptly. I appreciate it !!!
&nbsp;
Now, we will definitely use Drools in our application.
 ;
I have a Good To have feature request for Drools:&nbsp;  "Include check for duplicate objects being asserted into Working Memory & don't generate any activation for such objects or silently don't assert them at all in WM."&nbsp; I tested this scenario with JESS, they are already doing that. This will save Drools user from doing duplicate check, which ;is bit costly now.
Or can you please suggest me any simple way, by which still I can achieve this in Drools ?
 ;
Thanks & Happy Drooling
Siddhartha
 

_______________________________________________
rules-dev mailing list
lists.jboss.org">rules-devlists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev




--
 &nbsp;Edson Tirelli
&nbsp; JBoss Drools Core Development
 &nbsp;Office: +55 11 3529-6000
  ;Mobile: +55 11 9287-5646
  ;JBoss, a division of Red Hat www.jboss.com
Re: Re : Drools 4.0.x branch has still some issues with serialization
user name
2008-03-14 06:48:35
siddhartha banik wrote:
mail.gmail.com" type="cite">
 
Hi Drools Team,
 
I have checked out Drools 4.0.x branch & found that all my test scenarios with "Dynamic Rules"&nbsp;are now working fine .
 
Thanks a lot for fixing the issues so promptly. I appreciate it !!!
 
Now, we will definitely use Drools in our application.
Great don't forget your JBoss Drools support subcription.
mail.gmail.com" type="cite">
 
I have a Good To have feature request for Drools: &nbsp; "Include check for duplicate objects being asserted into Working Memory & don't generate any activation for such objects or silently don't assert them at all in WM."  I tested this scenario with JESS, they are already doing that. This will save Drools user from doing duplicate check, which ;is bit costly now.
Or can you please suggest me any simple way, by which still I can&nbsp;achieve this in Drools ?
You can do this already. Change the engine from identity mode to equality mode.
mail.gmail.com" type="cite">
 
Thanks & Happy Drooling
Siddhartha
 

_______________________________________________ rules-dev mailing list lists.jboss.org">rules-devlists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-dev

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )