activemq-classicactivemq-artemis

Migrating scheduled messages from ActiveMQ Classic to Artemis


We use extensive message scheduling in ActiveMQ Classic and are now looking to migrate to Artemis.

We attempted to use the ActiveMQ KahaDB Export Tool. However, it appears to only migrate messages that are currently in a queue, ignoring scheduled messages that have not yet been delivered.

Is there a way to migrate scheduled messages from Classic to Artemis?


Solution

  • Scheduled messages in ActiveMQ Classic are stored in a separate store than the main KahaDB store and as far as I'm aware there are no export tools built for ActiveMQ Classic that will export those scheduled messages so there is no current way to export them in a form where tooling could be created to import them into Artemis.

    These are open source projects so you could work on an extension of the classic exporters and the Artemis importers that could handle this but as it stands now there is no way to do this.