[ 
https://issues.apache.org/jira/browse/SYNAPSE-285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12594442#action_12594442
 ] 

Asankha C. Perera commented on SYNAPSE-285:
-------------------------------------------

Yes, we need to shutdown the worker pool and this is a bug, we also do not need 
to keep the BackportWorkerPool in the codebase anymore as we are now on JDK 1.5

> AbstractTransportListener doesn't shut down its worker pool
> -----------------------------------------------------------
>
>                 Key: SYNAPSE-285
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-285
>             Project: Synapse
>          Issue Type: Bug
>          Components: Transports
>            Reporter: Andreas Veithen
>            Priority: Critical
>             Fix For: 1.2
>
>
> I would expect that a call to ServerManager#stop will cause the worker pool 
> created by transport listeners based on AbstractTransportListener to be shut 
> down. This is not the case.
> The worker pool is created in AbstractTransportListener#init but there is no 
> corresponding code in AbstractTransportListener#destroy to shut it down. The 
> WorkerPool interface doesn't even define a method to shut down.
> Also I was wondering whether we still need the BackportWorkerPool 
> implementation, given that
> * we target Java 1.5 and have java.util.concurrent;
> * the code in BackportWorkerPool still uses classes from java.util.concurrent 
> and therefore probably never worked on Java 1.4 (obviously nobody ever 
> complained about this...).

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to