Tim Bain created AMQ-6103:
-----------------------------

             Summary: Provide command-line utility to migrate KahaDB files to a 
new OpenWire version
                 Key: AMQ-6103
                 URL: https://issues.apache.org/jira/browse/AMQ-6103
             Project: ActiveMQ
          Issue Type: Bug
          Components: KahaDB
    Affects Versions: 5.x
            Reporter: Tim Bain


Since the KahaDB code can currently only support a single OpenWire version at a 
time, there is no clean way to upgrade a broker to an ActiveMQ version that 
uses a new version of OpenWire if there are any messages in the KahaDB data 
store and you want to keep those messages.

One thing that would be useful would be a command-line utility that could be 
run while the broker is offline to convert the KahaDB data files/indices/etc. 
from their current version of OpenWire to any other version.  I expect you'd 
read the files in from start to finish using the code that corresponds to their 
current OpenWire version and write the messages out to a new set of files in 
the desired OpenWire format.  Maybe you'd want to compact the files while 
you're at it, but that's certainly not a must-have.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to