I am not sure about the first 2 questions (I don't know if anyone is using that separate project and i'm not sure about the point of the legacy stuff) but I can answer 3 and 4.
The auto openwire-generator module is indeed still used and that is how versions 11 and 12, etc were generated. It is used by the activemq-client project and there's a profile in the pom file that allows generation of the new classes. I was the last person to generate v12 and if I recall the way it works is you just add/update the fields you want in the command classes under the org.apache.activemq package, bump the Openwire version in the pom.xml, and then run maven -P openwire-generate antrun:run and that will generate the new version of Openwire and add it to the activemq-client sources. See: https://github.com/apache/activemq/blob/activemq-5.16.2/activemq-client/pom.xml#L309 On Tue, Jun 8, 2021 at 5:45 AM Tetreault, Lucas <tetlu...@amazon.com.invalid> wrote: > Hey folks, > > > > I have a few questions about the state OpenWire… > > > > 1/ It looks like there was some attempt to separate it from ActiveMQ > “Classic”: https://github.com/apache/activemq-openwire. Neither Classic > nor Artmemis appear to use this. *Should this repo be archived to avoid > confusion? * > > > > 2/ The last openwire version to be moved to activemq-openwire-legacy was > v8 in 2013. It looks like v12 was already present in 5.15.0. *Should v9, > v10 and v11 be moved to activemq-openwire-legacy? What is actually the > benefit of doing so? * > > > > 3/ The openwire marshallers (e.g.: > https://github.com/apache/activemq/blob/main/activemq-client/src/main/java/org/apache/activemq/openwire/v12/ActiveMQBlobMessageMarshaller.java) > all include a comment: > > > > * NOTE!: This file is auto generated - do not modify! > > * if you need to make a change, please see the modify the groovy > scripts in the > > * under src/gram/script and then use maven openwire:generate to > regenerate > > * this file. > > > > However, I can’t see how they are auto-generated? E.g.: v12 ( > https://github.com/apache/activemq/commit/3953b9aaefaee914bdd0702f27aef47c021ceb27) > and v11 ( > https://github.com/apache/activemq/commit/833d30837b0b306e8d9b0a2e54331c25f7c5c292) > both appear to be added as a single commit but I can’t see what file would > have been updated to auto-generate the new marshallers? *If the files > aren’t auto-generated and those comments are just being copied forward, > should they be removed? * > > > > 4/ The activemq-openwire-generator module doesn’t appear to have been > updated in any significant way since 2012 and appears to only generate v2 > openwire code. *Should the module be deleted? * > > > > *Lucas Tétreault* > > Software Development Manager, Amazon MQ > > email: tetlu...@amazon.com > > phone: (778) 222-7107 > > [image: signature_52078066][image: signature_1428542676] > > >