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(a)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(a)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-i...
> Sent from the Drools: User forum mailing list archive at
Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
*Epidata Consulting | Deploying Ideas
Ing. Adrián M. Paredes | Arquitecto Desarrollador
adrianp(a)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>
*