Hi Kim, In your http://wiki.apache.org/qpid/AMQPVersion%2e1 section. I think you missed the solution approach that amq took when re-implementing the qpid code generator. And that is to have 1 set of MethodBody classes and n set of Encoder/Decoders. The native amq openwire protocol has been using this approach with success for a while now.
In case you missed the previous email, this has already been implemented and checked in here: http://svn.apache.org/repos/asf/incubator/activemq/sandbox/qpid/ This implementation puts all the MethodBody classes in a ....command.* package and all the logic for the different encoder/decoders are placed in a .....wireformat.v${version}.* package. On 10/18/06, Kim van der Riet <[EMAIL PROTECTED]> wrote:
The first crack at a code-generator which is capable of providing support for multiple AMQP versions in the broker is now available in subversion under the trunk in the directory gentools. At this stage, only Java generation is functional; C++ is to follow. I am not planning to integrate this into Qpid until C++ is complete as well. While that work is in progress, I invite anyone who is interested to take a look and kick the tires in a stand-alone configuration - i.e. it won't touch the existing build. I look forward to any comments and suggestions you may have. There is a README file containing some instructions. I will also be working on updating the Wiki (http://wiki.apache.org/qpid/AMQPVersion) in the next few days. Kim
-- Regards, Hiram Blog: http://hiramchirino.com
