Hi
I have a rule using xml.
outterMap.get("fact")
innerMap.get("filterabl
Hi
I am using xml drl files for my rules. I pass the facts in HashMap.
Map factAgendaMap = new HashMap();
factAgendaMap.put("group", ruleConfig.getRuleName());
factAgendaMap.put("fact", fact);
session.execute(factAgendaMap);
In my drl file I m calling the
Hi
I am using StatelessSession code in Java file and my rules are in drl file.
Which drools variable are you talking about? How can I use it in java file
to set focus?
Mark Proctor wrote:
>
>
> The drools variable is available and you can get the working memory from
> that.
>> Do we have a s
Hi I am using this code to make my own agenda filter. In this case if the
type of rule is agenda then agenda filter to focus on that agenda is set
else agenda filter for rule is set.
private static AgendaFilter buildAgendaFilter(RuleConfig rule)
{ final String searchName = rule.getRuleName(
Hi
Thank you so much for the solution. Yes the dependent jars were missing and
i added them up
Thank you once again!
--
View this message in context:
http://www.nabble.com/Problem-using-Package-Builder-tp15891216p15950725.html
Sent from the drools - user mailing list archive at Nabble.com.
__
Thank you john. The problem was that I had not included some jar file.
Again I am getting a problem while constructing a new Package Builder :
java.lang.NoClassDefFoundError:
org/mvel/integration/impl/BaseVariableResolverFactory
Thoudh I have included the jar file mvel14-1.2.20 that contains t
Hi
I am using Package Builder for making rule base in my web application. The
code is:
public class DroolSetUp implements ResourceLoaderAware{
private static RuleBase ruleBase;
private Resource drlFiles;
public void setResourceLoader(ResourceLoader arg0) {
Hi
I have numerous .drl files that contain around 100 rules, in 5 packages.
Please tell me what can be an optimsed solution so that my application
performance is not made to suffer?
I should load all the drl files in and form a Rule Base. After this
depending on my application logic I go on pickin
Hi
Similarly can we set the focus on a particular agenda in stateless session.
Like for statefull session, to fire the rules belonging to a given agenda,
the code is :
workingMemory.setFocus("agenda group name");
Do we have a similar method in stateless session as well?
--
View this message i
Hi
I am using drool to put my application business logic
In my java service class, I am adding into an ArrayList objects: task1,task2
and task3.
list.add(task1);
list.add(task2);
list.add(task3);
new RuleRunner().runRules(new String[] { "ruleTraverseFacts.drl" }, list);
Code in the Ru
10 matches
Mail list logo