[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
Thu Apr 21 04:11:00 EDT 2016


     [ https://issues.jboss.org/browse/DROOLS-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

RH Bugzilla Integration updated DROOLS-1127:
--------------------------------------------
    Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1329093
        Bugzilla Update: Perform


> 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