Works for me (5.5.0, 5.4.0) - at least based on the code you've posted
which (apart from the omitted getters and setters) isn't the one you've
been running, and so you may have changed or omitted something
that's essential.
The full stack dump might shed some more light on this, and the full and
t
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 equ
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
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
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 : kb.getKnowledgePackages().iterator(
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 mailing
Hi Mauro,
Why do you encapsulate this camel route within a camel Policy ?
I think that time is come to refactor camel-drools component to simplify
its usage.
Regards,
On Fri, May 3, 2013 at 6:31 PM, mauro wrote:
> Hi,
>
> I'm using Drools integration with Camel and have to be able to get th
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:
in the "createList" bean I create a list of java objects and call
Co
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.(String.java:210)
at org.mvel2.a
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 :)
https://community.jbo
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
rules-us
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 wrote:
> I was looking for a way to get a rule's name within the 'then' condition of
> the r
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 c
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 an
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 a
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 Perso
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);
/* knowledgeBase.addKnowledgePackages(builder.ge
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 creatin
You are right. What I was doing was stupid.
On Thu, May 2, 2013 at 9:53 PM, Davide Sottara 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 on the classp
19 matches
Mail list logo