You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Aidan Skinner (JIRA)" <qp...@incubator.apache.org> on 2009/04/28 15:16:30 UTC

[jira] Created: (QPID-1828) 0-10 Sessions have two channel -> session maps

0-10 Sessions have two channel -> session maps
----------------------------------------------

                 Key: QPID-1828
                 URL: https://issues.apache.org/jira/browse/QPID-1828
             Project: Qpid
          Issue Type: Bug
          Components: Java Client
    Affects Versions: M4, 0.5, 0.6
            Reporter: Aidan Skinner
             Fix For: 0.6


org.apache.qpid.transport.Connection maintains a map of channels to sessions in the channels field, used by map/unmap and getSession. AMQConnection maintains it's own map of these in its _session field. 

It appears that the ints used as the channel id will always be in lock-step, but that is more by chance than design it seems. There doesn't appear to be any attempt to reuse or otherwise link the two. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Updated: (QPID-1828) 0-10 Sessions have two channel -> session maps

Posted by "Marnie McCormack (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marnie McCormack updated QPID-1828:
-----------------------------------

    Fix Version/s:     (was: 0.6)
                   0.7

Moving items unlikely to be completed for 0.6 out to 0.7

> 0-10 Sessions have two channel -> session maps
> ----------------------------------------------
>
>                 Key: QPID-1828
>                 URL: https://issues.apache.org/jira/browse/QPID-1828
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: M4, 0.5, 0.6
>            Reporter: Aidan Skinner
>             Fix For: 0.7
>
>
> org.apache.qpid.transport.Connection maintains a map of channels to sessions in the channels field, used by map/unmap and getSession. AMQConnection maintains it's own map of these in its _session field. 
> It appears that the ints used as the channel id will always be in lock-step, but that is more by chance than design it seems. There doesn't appear to be any attempt to reuse or otherwise link the two. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org