Oracle TCK expects javax.jms.IllegalStateException when calling 
Session#commit() on closed connection/session
-------------------------------------------------------------------------------------------------------------

                 Key: QPID-3765
                 URL: https://issues.apache.org/jira/browse/QPID-3765
             Project: Qpid
          Issue Type: Bug
          Components: Java Client
    Affects Versions: 0.12
         Environment: All OS platforms/
            Reporter: Weston M. Price
             Fix For: 0.14


Another case of throwing the wrong exception in conformance to the JMS spec. 
Currently the AMQSession does not check for a closed connection prior to 
calling Session#commit. As a result, a TransportException is caught and 
rethrown as a JMSException. This breaks the TCK which expects a 
javax.jms.IllegalStateException.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to