[jboss-jira] [JBoss JIRA] (DROOLS-1127) Google App Engine support: Do not call new Thread() by allowing to plug in a custom ThreadFactory

RH Bugzilla Integration (JIRA) issues at jboss.org
Wed Apr 27 07:56:00 EDT 2016


    [ https://issues.jboss.org/browse/DROOLS-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13197728#comment-13197728 ] 

RH Bugzilla Integration commented on DROOLS-1127:
-------------------------------------------------

Geoffrey De Smet <gdesmet at redhat.com> changed the Status of [bug 1329093|https://bugzilla.redhat.com/show_bug.cgi?id=1329093] from NEW to ASSIGNED

> 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}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list