You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Weston M. Price (Closed) (JIRA)" <ji...@apache.org> on 2012/01/11 06:30:40 UTC

[jira] [Closed] (QPID-3699) AMQConnection should provide getter for _connected variable

     [ https://issues.apache.org/jira/browse/QPID-3699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Weston M. Price closed QPID-3699.
---------------------------------

    Resolution: Not A Problem
      Assignee: Weston M. Price

After looking at the code, there was a better way to accomplish connection state evaluation rather than expose a getter for this variable.
                
> AMQConnection should provide getter for _connected variable
> -----------------------------------------------------------
>
>                 Key: QPID-3699
>                 URL: https://issues.apache.org/jira/browse/QPID-3699
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Client
>    Affects Versions: 0.14
>         Environment: All platforms, Java client.
>            Reporter: Weston M. Price
>            Assignee: Weston M. Price
>             Fix For: 0.15
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Due to some failing TCK tests for the JCA adapter, the adapter needs to determine the state of the underlying AMQConnection before allowing a call a JMS Session.commit(). This allows the adapter to throw the appropriate IllegalStateException which is a requirement of the JCA/JMS TCK and not the standard JMS API. 
> Providing this getter will allow us to determine the state of the internal connection and take the appropriate action.

--
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:dev-subscribe@qpid.apache.org