[rules-users] Drools Clustering

2011-07-05 Thread dan.dobrescu
Hi,
I've searched the forum, but I couldn't find nothing useful about my
question..
I've got a little problem.. So, I've implemented in Drools some rules,
mostly triggered by two external events... EVENTA, and EVENTB. My
applications is clustered, so it's possible that EVENTA is inserted from
NODE1 and EVENTB from NODE2. But in this case, I'll have different facts in
both sessions, and it's possible that my rules don't fire. Has drools
implemented clustering for statefull sessions? or how should I do, because
if both session are containing the same facts, the rules will be triggered
twice... I'd like a behavior similar to Quartz.. 

--
View this message in context: 
http://drools.46999.n3.nabble.com/Drools-Clustering-tp3140305p3140305.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Drools implementation problem

2011-06-27 Thread dan.dobrescu
Hello,

I'm trying to implement Drools in our project, but I really don't know which
method to adopt. First of all, our project is about creating marketing
campaigns for mobile network operators. So, we've got a Web UI where we let
the user define his own rules for the campaign.. Now.. here's my problem.
Should i try to translate everything in the UI in a custom drl with a custom
agenda-name (because there can be many custum campaigns with different
flows), or should I create an object with different properties which should
reflect the chosen options in the web-ui and then use it in my rules to
create the behaviour?

If I should go with the first option, how can I store it? Should I store the
drl in Guvnor(but the models my change from time to time.. not the
attributes used in the rules, other attributes.. and I can't import several
jars from an url to have access to the models, can I?) or in DB, and the
dynamically add the rules at run-time? 

--
View this message in context: 
http://drools.46999.n3.nabble.com/Drools-implementation-problem-tp3113482p3113482.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Drools implementation problem

2011-06-27 Thread dan.dobrescu
hmm.. ok, thank you very much for the advice. 

--
View this message in context: 
http://drools.46999.n3.nabble.com/Drools-implementation-problem-tp3113482p3113769.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users