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

2012-12-07 Thread Bacem
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


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

2012-12-07 Thread Wolfgang Laun
See the javadoc on org.drools.agent.KnowledgeAgentFactory for how to
change the polling interval.

-W


On 07/12/2012, Bacem ghali.ba...@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


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

2012-12-07 Thread Adrián Paredes
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.l...@gmail.com

 See the javadoc on org.drools.agent.KnowledgeAgentFactory for how to
 change the polling interval.

 -W


 On 07/12/2012, Bacem ghali.ba...@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




-- 
*Epidata Consulting | Deploying Ideas
Ing. Adrián M. Paredes | Arquitecto Desarrollador
adri...@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 |
Facebookhttp://www.facebook.com/epidata.consulting
 | Twitter http://twitter.com/epidata
*
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users