Dear Drools Users,

     When you create you own KieBase you can set the KieBase to streaming  
as follows:
        KieBaseConfiguration config =  
KieServices.Factory.get().newKieBaseConfiguration();
        config.setOption( EventProcessingOption.STREAM );
     However, when you use a scanner you would create a session as follows:
            KieServices ks = KieServices.Factory.get();
             KieContainer kieContainer = ks.newKieContainer(releaseId);
             scanner = ks.newKieScanner(kieContainer);
You can't set the Streaming option directly on the session and I assume  
the KieBases will change from the moment a change is detected in the Maven  
package. Then how would you set the KieBases that are 'generated' by teh  
scanner to streaming modus?

Kind Regards,


-------------------------------------------------------------
Brecht De Rooms
Phd Student @ WISE
Department of Computer Science
Vrije Universiteit Brussel
Pleinlaan 2, B-1050 Brussels, Belgium

office: 10 G 731f
phone: +32 2 629 37 49
email: bdero...@vub.ac.be
-------------------------------------------------------------

---
Dit e-mailbericht bevat geen virussen en malware omdat avast! 
Antivirus-bescherming actief is.
http://www.avast.com

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to