Le 11/03/2014 14:30, GrantWang a écrit : > Thanks! Now I know how to load a file. Really helps. > > Another question, is there a way in drools to monitor a directory? Like when > our business team load some .drl files to a pre-defined directory, my app > can detect that and load the files into existing sessions. Can I use > kieScanner to do that? > > Best regards, > Grant > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/Drools-pipeline-API-tp4028616p4028632.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users
I am no an expert but it seem to me, your application need to do an action ( rule ) when file are put into a directory. This seem the job of apache camel this procedure is named a "route" . In more camel has a plugin to works with drools 6.x . _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users