You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rob Godfrey (JIRA)" <qp...@incubator.apache.org> on 2007/12/12 13:22:46 UTC
[jira] Resolved: (QPID-318) Remove hard-coding of protocol version
number in the code
[ https://issues.apache.org/jira/browse/QPID-318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rob Godfrey resolved QPID-318.
------------------------------
Resolution: Fixed
Fix Version/s: M2.1
> Remove hard-coding of protocol version number in the code
> ---------------------------------------------------------
>
> Key: QPID-318
> URL: https://issues.apache.org/jira/browse/QPID-318
> Project: Qpid
> Issue Type: Improvement
> Components: Java Broker, Java Client, Java Common
> Reporter: Rob Godfrey
> Assignee: Rob Godfrey
> Priority: Minor
> Fix For: M2.1
>
> Attachments: qpid-318.patch
>
>
> After the recent change to support multiple versions of the protocol, a number of instances of hard-coded values for the minor and major version of the protocol had been left in the code.
> Apart from the establishing of the connection by sending the protocol initiation, every other write should use the version established at connection start. To do this we can retain the negotiated version information when on the connection (session) and use these values when we create new frames.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.