You are right. What I was doing was stupid.
On Thu, May 2, 2013 at 9:53 PM, Davide Sottara dso...@gmail.com wrote:
What would be the exact use case for this?
The FactType reflective API is used to access the classes declared in DRL
and compiled on-the-fly
at runtime. As long as the jar is
Thank you very much for the detailed explanation, things are clearer now. I
would have liked to be able to initialize the KA with an empty KB but I need
to be able to set the configuration options for it and for now I don't see
how that is done. Can the options, like STREAM mode be set when
The options are set at the KB level, way before rules etc.. are added.
So yes, you can initialize an empty KB and use changesets to add rules
dynamically later. Notice this:
KnowledgeBase knowledgeBase = KnowledgeBaseFactory.newKnowledgeBase(conf);
/*
Mats Norén wrote
Hi,
I've got a really simple problem that I can't seem to fix. :-)
I'm trying to use a simplified model for a room planning problem.
The planning entity is a Topic and the planning variables are Room and
TimeSlot.
A Person is tied to a Topic as a moderator.
Each Person can
erere121 wrote
Hello every one ,I study the drool.plannar recently and both tried the
planner 5.5 and planner 6.0(optaplanner) to solve my problem. I found
something puzzles:
1 Is there any big difference between planner 5.5 and planner 6.0. I run
the same process in both planner 5.5 and
Okay, took me a while to extract the code and just included the minimal. I
know how to reproduce this bug (or something I have done wrong) now. Take a
look at testing 2 and 3. Those are where I cannot list the global but the
global is set in fact.
Now we can continue trying to answer my question
I was looking for a way to get a rule's name within the 'then' condition of
the rule.. found an old post on another forum that recommended this (which
works):
drools.getRule().getName()
My question is, what is this 'drools' keyword? could anyone point me to
documentation that outlines what else
It was deprecated to kcontext some releases ago. The interface name is
RuleContext.
http://docs.jboss.org/jbpm/v5.2/javadocs/org/drools/runtime/rule/RuleContext.html
Mark
On 3 May 2013, at 10:14, rjr201 rich.j.ri...@gmail.com wrote:
I was looking for a way to get a rule's name within the
That's exactly what I needed. Thanks.
--
View this message in context:
http://drools.46999.n3.nabble.com/drools-key-word-tp4023662p4023665.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
Errai has recently added OTEC support, which is a web based system for
collaborative editing. I thought this would be really interesting project,
working on cutting edge web technologies for anyone doing a GSOC submission. Or
actually anyone looking for an engaging task :)
Just want to put the exception out here in case it is meaningful to the
development or whoever ran into this before. It occurred but does not
impact the result of the process.
Exception in thread Thread-6 java.lang.NullPointerException
at java.lang.String.init(String.java:210)
at
Hi,
I'm using Drools integration with Camel and have to be able to get the
objects that were validated by a rule in a stateless ksession later in the
Camel route.
My camel-server.xml has something similar to this:
policy ref=droolsPolicy
bean ref=createList /
to uri=drools:node1/ksession1
Hi Charles,
to be honest, I wasn't sure about the drools policy and added it to check
the results, if that's what you mean..
Br,
Mauro
--
View this message in context:
http://drools.46999.n3.nabble.com/Camel-get-ksession-results-tp4023670p4023672.html
Sent from the Drools: User forum
Hi,
the following code traverses rules and their conditions. However, I did not
find a method to find conditions, that match over a certain field of a
declared class. I know, that the rule API should be hidden for good reasons
(Mark Proctor).
for(Rule ruleDef :
In another word, do we have operator doing what object == object in Java?
thanks
Sean
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
I am new to Drools (Expert and Fusion) and have been reading through the
materials over the last few days. After going through some of the tutorial
code I wrote a very quick and dirty to perform a base assessment of the
speed of Fusion / Expert. My code is below. The strange thing I'm
currently
There's a paragraph or two about assertion modes, i.e., equality or
identity in the Drools Expert manual. Note that inserting identical
objects is against the meaning of fact, and that may also be true
for objects that are equals().
For explicit control about the distinction between == and
17 matches
Mail list logo