I added a KnowledgeAgentEventListener (Drools 5.6) to a knowledgeagent. My
vision is to use one of the listener methods (beforeChangeSetApplied
perhaps) to examine the change set and determine if I want to cancel its
processing. I see that the documentation states that the event getters
return im
Hi,
I have a kjar with kmodule.xml, where my kbase and its ksession are defined.
Then I'd like to inject the ksession into my service component and work
with it. But. I don't know where to configure persistence for the
session. Well, in kmodule.xml there is not such an entry. And after
injectio
If as an organization, we are using Guvnor to host our rules and we have
multiple rule based projects which may not have anything to do with each
other, what would be the recommended practice - having one web application
instance with different packages, or having multiple Guvnor instances
therefor
Eclipse classpath issues...
have you added the jars to your Build Path?
--
View this message in context:
http://drools.46999.n3.nabble.com/Integrate-Drools-Project-with-another-Java-project-in-Eclipse-tp4029280p4029281.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
__
These test classes do that between them (with a bit of help from some others):
https://github.com/gratiartis/qzr/blob/master/sctrcd-drools/src/test/java/com/sctrcd/drools/spring/DroolsSpringTest.java
https://github.com/gratiartis/qzr/blob/master/sctrcd-drools/src/test/java/com/sctrcd/drools/sprin
Thank you, That did help together with reading the documentation again I
could piece together various parts better than before, I couldn't really
make the connections as well just from reading the docs ><.
It works now :). Although I understand why the things are designed as it is,
I am not fully
Did you try the advice in the Documentation ?
Example 4.60 seems like the one...
KieServices kServices = KieServices.Factory.get();
KieFileSystem kfs = ks.newKieFileSystem();
kfs.write("src/main/resources/org/kie/example5/HAL5.drl", getRule());
KieBuilder kb = ks.newKieBuilder(kfs);
I don't know
Hi,
In our project we would like to cache KnowledgeBase once it's created
because compilation of rules takes long time and we can't afford to do it
every time we need to process rules.
Generaly we use ehCache as caching mechanism, but I am not sure if it's the
best way to just put KnowledgeBase
Can anyone here give me a good documentation place or thingy where I can read
about how to implement the drools 6 method of loading your rules from a
folder in the file system instead of inside the jar.
I have it working currently with the knowledgebase class, but since that is
deprecated I want t