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-subscr...@qpid.apache.org

Reply via email to