Keith Wall created QPID-7367:
--------------------------------

             Summary: [JCA] QpidRASessionImpl#closeSession does not destroy the 
underlying connection
                 Key: QPID-7367
                 URL: https://issues.apache.org/jira/browse/QPID-7367
             Project: Qpid
          Issue Type: Bug
          Components: Java Client
            Reporter: Keith Wall


I notice that {{QpidRASessionImpl#closeSession()}} stops the managed 
connections, closes consumers and producers but fails to destroy the managed 
connection.  This means that the underlying connection to the Broker remains 
open.

I think org.apache.qpid.ra {{QpidRASessionImpl#closeSession}} simply needs to 
call mc.destroy() before nulling the reference.

I discovered this because the system test suite leaves behind threads belonging 
to the {{AMQConnection#_taskPool}}.  These are the connections used by the JCA 
system test suite.




--
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