I would hesitate using from for accessing nested structures for performance
reasons. See the attached project:
$ java -jar target/DroolsNestedTest-1.0.jar from.drl
Time: 980ms
BAR Duplicates: 58
FOO Duplicates: 38
$ java -jar target/DroolsNestedTest-1.0.jar reference.drl
Time: 36ms
BAR
Mark Proctor mproc...@codehaus.org wrote on 14-08-2009 03:13:42:
We'd really like to improve out OSGi friendlyness. From getting
Drools to work perfectly as an OSGi service, to getting our build
system to publish all the necessary bundles. But we need people in
the commnity to help us, you
Mark thank you for your reply! What you are saying is that the example Car (
engine.cylinderCount == 4 ) is wrong and correct is:
$e: Engine ( cylinderCount == 4 )
Car ( engine == $e )
which is representation of real relations? I thought about the example I
wrote here overnight and I realized
Hi Edson,
thank you very much for your answer.
If it is LHS of the rules that is taking too long to execute, then you
may try enabling the engine multi-thread evaluation option.
Well, it is the LHS which we would like to speed up because we
anticipate a few hundred rules in there and only a
lasse.wallen...@apcc.com schrieb:
Mark Proctor mproc...@codehaus.org wrote on 14-08-2009 03:13:42:
We'd really like to improve out OSGi friendlyness. From getting
Drools to work perfectly as an OSGi service, to getting our build
system to publish all the necessary bundles. But we need
We're planning to do a M1 near the end of the month, and a final a few
weeks later.
Kris
Quoting SBalakrishnan sanjay.balakrish...@fnis.com:
Thanks Kris
Will download from the below link and check.
Quick question, do you know when the official 5.1 release will be
available
?
Hi,
I`m experiencing the same problems as Vishal. I am using Eclipse 3.5
and newest Drools. I am only able to debug project as Java
application, but when I want to debug it as Drools application all I
get is this problem. I also tried disabling firewall and changing its
settings but as it seems
You can add exception handlers to the field Exception Handlers of process
nodes. There are several references in the Documentation but no example. Did
someone succeed using this field?
See
You can probably find some basic examples in the junit tests:
http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessExceptionHandlerTest.java
Kris
Quoting Marc Dzaebel mdzae...@web.de:
You can add exception handlers to the
Hi,
I am trying to build latest source from svn, in order to try new rulesflow
features. I am following instructions provided in README.txt
I have maven 2.0.9 and execute:
mvn -Declipse -Ddocumentation clean install
-DlocalEclipseDrop=C:/Users/agaton/tools
It seems that it does not work with
Hi,
I am trying to get a very simple DSL working but all the time it gives the
error of Unable to expand: If I take the DSL away everything runs fine, not
sure whats going on.
So what I did is strip away all other stuff and just added a plain simple DSL
-- but still the same error
http://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-expert/html_single/index.htmlSection
4.10.2
2009/8/14 Vijay K Pandey vpan...@mdes.ms.gov
Hi,
I am trying to get a very simple DSL working but all the time it gives the
error of *Unable to
Thanks, but I have gone through this before and I don't see any issue in the
DRL DSL file I wrote. Also within the eclipse plug-in, Rete View comes up
fine for the DRL but while running as java application, Unable to expand:
error comes.
From:
you need to change
[consequence][]LOGGING=System.out.println(hello);
to
[then][]LOGGING=System.out.println(hello);
Regards,
Prem
2009/8/14 Vijay K Pandey vpan...@mdes.ms.gov
Thanks, but I have gone through this before and I don’t see any issue in
the DRL DSL file I wrote. Also within the
Not true. [consequence] and [then] are synonyms, and [consequence] is the
preferred way.
I think the problem is the order in which you are loading the resources.
Add the DSL before adding the DSLR.
[]s
Edson
2009/8/14 Premkumar Stephen pre...@gmail.com
you need to change
Suggestion (DSL first) by Edson works perfectly. Thanks a lot Edson!.
Thanks
Vijay
From: rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Edson Tirelli
Sent: Friday, August 14, 2009 12:24 PM
To: Rules Users List
Try adding the DSL before the DSLR:
resource source='classpath:test/rules/testing.dsl' type='DSL' /
resource source='classpath:test/rules/test.drl' type='DSLR' /
Vijay K Pandey wrote:
Hi,
I am trying to get a very simple DSL working but all the time it gives
the error of
Thanks Tihomir. Edson also suggested the same and it worked. Thanks
-Original Message-
From: rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Tihomir Surdilovic
Sent: Friday, August 14, 2009 1:48 PM
To: Rules Users List
Subject: Re:
Hi there,
Has anyone been successful with Drools 5.1 and persistent processes?
I've been debugging for quite a while now and not sure if the code was
meant to run in a container.
I'm using Spring 2.5, Drools 5.1, and Hibernate 3.3
Specifically: In SingleSessionCommandService
a) the
Hi,
We have around 3500 business rules and rules are mainly look up value based or
based on the associated data in the RDBMS.
There are around 90% processes where we only need sequential rules check, the
other 10% of processes requires the inference capability.
My questions:
a)
Answering this question in any meaningful way without more information is
difficult. My first instinct is to wonder if the database calls really need to
be done directly from the LHS of the rules, especially with this many of them.
I hope you're able to cache the database queries.
Anyway,
21 matches
Mail list logo