Hi, Bacem:
You can change the polling interval as follows:
ResourceChangeScannerConfiguration sconf = ResourceFactory.getResourceChangeScannerService().newResourceChangeScannerConfiguration();
sconf.setProperty( "drools.resource.scanner.interval", "10" ); // set the disk scanning interval to 10s
ResourceFactory.getResourceChangeScannerService().configure(sconf);
Greetings,
Adrian
See the javadoc on org.drools.agent.KnowledgeAgentFactory for how to
change the polling interval.
-W
On 07/12/2012, Bacem <ghali.bacem@gmail.com> wrote:
> Hello,
>
> Is it possible to change the polling interval of 60 seconds in
> knowledgeAgent ?
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/change-polling-interval-of-60-seconds-in-KnowledgeBase-tp4021130.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
>
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users