Creating JMS connection with invalid user credentials leaves open resource on the client
----------------------------------------------------------------------------------------
Key: JBMESSAGING-1714
URL:
https://jira.jboss.org/jira/browse/JBMESSAGING-1714
Project: JBoss Messaging
Issue Type: Bug
Components: JMS Facade
Affects Versions: 2.0.0.beta4
Reporter: Jeff Mesnil
Assignee: Jeff Mesnil
Fix For: 2.0.0.beta5
To create a JMS connection, JBossConnectionFactory creates a JBossConnection instance,
calls authorize() on it and returns the connection.
However, if the authorization fails, a JMS Exception is thrown and the connection is not
properly closed leaving resources on the client.
In case of authorization failure, the connection instance must be closed before rethrowing
the exception to the client.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira