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
            Priority: Minor


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.

Reply via email to