each rule add/remove/update required you to rebuild, publish and consume (in the KieContainer) a new kjar.
The kjar will have ALL of the rules, a diff algorithm will only add the new one that is different. Mark On 9 Jan 2014, at 15:46, calcacuervo <[email protected]> wrote: > Hi Guys. > > I am trying to add rules incrementally to the kbase, using the same > ksession. I mean, when I have a new DRL, I receive it, and want to add it to > the kbase (in memory), and the ksession I have will start to use this new > rule too. > > I have been using this example, > > https://github.com/droolsjbpm/drools/blob/master/drools-compiler/src/test/java/org/drools/compiler/integrationtests/IncrementalCompilationTest.java#L106 > > I can add new rules, but just passing all the DRLS, and creating a new > KieFileSystem. I would like, when I have a new rule, just add (or modify), > this rule to the working memory. > > Is this possible? Any idea? > > Thanks! > > Demian > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/Adding-rules-incrementally-tp4027631.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
