[ 
https://issues.apache.org/jira/browse/QPID-6377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15397399#comment-15397399
 ] 

ASF subversion and git services commented on QPID-6377:
-------------------------------------------------------

Commit 1754392 from [~k-wall] in branch 'java/trunk'
[ https://svn.apache.org/r1754392 ]

QPID-6377: [Java Client] Prevent a connection failure on initial connection 
leaking a taskpool/thread

* Change AMQConnection's constructor to shutdown the taskpool if the 
constructor did not complete successfully (i.e. initial connection fails).

> Connection's taskpool not shutdown if Connection is closed from the broker 
> side
> -------------------------------------------------------------------------------
>
>                 Key: QPID-6377
>                 URL: https://issues.apache.org/jira/browse/QPID-6377
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.18, 0.22, 0.30
>            Reporter: Keith Wall
>             Fix For: qpid-java-6.1
>
>         Attachments: LeakedConnectionThreadsBefore.png
>
>
> If the client's connection is closed from the Broker side, the taskpool used 
> to deliver unrouteable messages and some asynchronous exceptions is not 
> shutdown.   This will cause a small memory leak and potentially leaked 
> threads too.
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to