]
RH Bugzilla Integration commented on DROOLS-1127:
-------------------------------------------------
Xiong Zhi Ming <zxiong(a)redhat.com> changed the Status of [bug
Google App Engine support: Do not call new Thread() by allowing to
plug in a custom ThreadFactory
-------------------------------------------------------------------------------------------------
Key: DROOLS-1127
URL:
https://issues.jboss.org/browse/DROOLS-1127
Project: Drools
Issue Type: Enhancement
Components: core engine
Reporter: Geoffrey De Smet
Assignee: Mario Fusco
Fix For: 7.0.0.Beta1
Any code that does `new Thread()` on GAE throws an exception, because you can't
create new threads yourself.
Other future cloud platforms might have a similar restriction. It should be possible to
plug in a custom way of creating threads.
*Proposal A)* Add a kieBase configuration property to change the ThreadFactory
{code}
drools.threadFactory = com.user.project.GoogleAppEngineThreadFactory
{code}
*Proposal B)* Add a kieBase configuration property to change the ExecutorServiceFactory
{code}
drools.executorServiceFactory = com.user.project.ExecutorServiceFactory
{code}