Fix: Thread leak in ActiveMQConnection
--------------------------------------
Key: AMQ-1791
URL: https://issues.apache.org/activemq/browse/AMQ-1791
Project: ActiveMQ
Issue Type: Bug
Components: JMS client
Affects Versions: 5.1.0
Reporter: Justin SB
Attachments: connectionleak.patch
ActiveMQConnection does not shutdown the asyncConnectionThread if an error
occurs in the close method. In particular, if a connection could not be made,
stop will immediately throw an exception. This leaks threads.
The attached patch fixes the problem.
This might be related to AMQ-1214?
I had some trouble creating the patch, because SVN head does not build for me
(AMQ-1745). The patch is simple, so please apply by hand if it doesn't
automatically apply.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.