Details
-
Enhancement
-
Resolution: Done
-
Major
-
None
-
None
Description
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
drools.threadFactory = com.user.project.GoogleAppEngineThreadFactory
Proposal B) Add a kieBase configuration property to change the ExecutorServiceFactory
drools.executorServiceFactory = com.user.project.ExecutorServiceFactory
Attachments
Issue Links
- is incorporated by
-
RHBRMS-1812 [GSS](6.3.z)Google App Engine support: Handle exception from ClassLoader.getSystemClassLoader() and allow usage of GoogleAppEngineThreadFactory
- Verified
- is related to
-
DROOLS-1125 Google App Engine support: ClassLoader.getSystemClassLoader() throws exception
- Closed