[rules-dev] Plugging custom TimerService

Maciej Prochniak mpr at touk.pl
Thu Oct 22 08:03:06 EDT 2009


Hello,

are there any unintrusive (without recompiling in drools-core ;)) ways
to plug own implementation of TimerService?
Currently configuration is based on enumeration ClockType, which is 

It would be nice to be able to pass any object implementing
TimerService, or some factory class.

One of the reasons is that I'd like to have more control over thread
pool used by JdkTimerService. Current implementation allows for
unlimited number of threads, it's also not possible to share thread pool
between different KnowledgeSessions

thx for reply & br
maciek



More information about the rules-dev mailing list