[rules-users] change polling interval of 60 seconds in KnowledgeBase

Adrián Paredes adrianp at epidataconsulting.com
Fri Dec 7 07:23:57 EST 2012


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

2012/12/7 Wolfgang Laun <wolfgang.laun at gmail.com>

> See the javadoc on org.drools.agent.KnowledgeAgentFactory for how to
> change the polling interval.
>
> -W
>
>
> On 07/12/2012, Bacem <ghali.bacem at 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 at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/rules-users
> >
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



-- 
*Epidata Consulting | Deploying Ideas
Ing. Adrián M. Paredes | Arquitecto Desarrollador
adrianp at epidataconsulting.com | Cel: (54911) 3297 1713
----------------------------------------------------------------------------------------------------------------------------
Argentina: Maipú 521 Piso 1 Of. A | Buenos Aires | Of: (5411) 5031 0060
Chile: Apoquindo 3600 Piso 7 y 9 | Las Condes - Santiago | Of: (+56) 2 495
8450
---------------------------------------------------------------------------------------------------------------------------
 www.epidataconsulting.com
 Linkedin <http://bit.ly/epidatalinkedin> |
Facebook<http://www.facebook.com/epidata.consulting>
 | Twitter <http://twitter.com/epidata>
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20121207/5b8d3404/attachment.html 


More information about the rules-users mailing list