[ https://issues.apache.org/jira/browse/QPID-3029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12996342#comment-12996342 ]
Andrew Kennedy commented on QPID-3029: -------------------------------------- In AMQP connections, the maximum number of channels is a two octet field. In ServerDelegate#getChannelMax() the number of channels should be 0xFFFF, not Integer.MAX_VALUE. Also, in Connection#map(Session) the loop through the channels map should start at Connection#MIN_USABLE_CHANNEL_NUM rather than explicitly using zero. These are not very important, and are trivial changes in any case. > Java broker claims to support 2^16 channels per connection when it doesn't > -------------------------------------------------------------------------- > > Key: QPID-3029 > URL: https://issues.apache.org/jira/browse/QPID-3029 > Project: Qpid > Issue Type: Bug > Components: Java Broker, Java Client > Affects Versions: 0.6, 0.7, 0.8 > Reporter: Robbie Gemmell > Assignee: Andrew Kennedy > Priority: Minor > Fix For: 0.9 > > > The Java broker claims to support 2^16 channels per connection when it > doesn't. It should negotiate the supported channel limit to the client during > the protocol handshake. -- This message is automatically generated by JIRA. - 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-subscr...@qpid.apache.org