[rules-users] How to add generated rules (from templates) to a KB on the fly?

Shinsekai arenaux at genoscope.cns.fr
Wed Jan 15 09:01:07 EST 2014


Hi,

I use Drools (6.0.0) with KIE-api and I have a method to generate drl rules
from templates+hashmaps. These rules are stored in a List<String>.
Now, I would to pack up these generated rules and make them available to a
preexistant KieSession.

Thus, a KieSession could access to standard KieBases (with rules stored in
resource directories) AND to these generated rules (stored in an object, in
memory).

Is it possible to do that?

I precise I don't want to use org.drools.internal.* classes.

Regards,

Alexandre



--
View this message in context: http://drools.46999.n3.nabble.com/How-to-add-generated-rules-from-templates-to-a-KB-on-the-fly-tp4027695.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list