[ 
https://issues.apache.org/jira/browse/OPENEJB-1146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895916#action_12895916
 ] 

Thiago Veronezi commented on OPENEJB-1146:
------------------------------------------

private final ScheduledExecutorService timeoutScheduler = 
Executors.newScheduledThreadPool(10);

I've created the object above to keep track of the timeout moment of each 
stateful instance. The problem is that to create this ScheduledExecutorService 
I need to set the number of running threads... and I did it by hardcoding 10 as 
parameter. What is the right way to do it?

[]s,
Thiago.

> javax.ejb.StatefulTimeout
> -------------------------
>
>                 Key: OPENEJB-1146
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1146
>             Project: OpenEJB
>          Issue Type: Sub-task
>          Components: ejb31
>            Reporter: David Blevins
>         Attachments: OPENEJB-1146.patch, OPENEJB-1146.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to