# activemq-cli-tools **Repository Path**: mirrors_apache/activemq-cli-tools ## Basic Information - **Project Name**: activemq-cli-tools - **Description**: Mirror of Apache ActiveMQ CLI Tools - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-22 - **Last Updated**: 2026-04-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Apache ActiveMQ Command Line Tools ================================== The ActiveMQ Command Line Tools project is home to several CLI based projects useful for users of the ActiveMQ Classic and ActiveMQ Artemis messaging brokers ## ActiveMQ KahaDB Export Tool This tool can be used to export a KahaDB or MultiKahaDB store to Artemis' XML format. The resulting XML document can then be imported into an Artemis broker (version 2.0.0+) using the Artemis CLI tool. See [Artemis CLI tool](https://activemq.apache.org/components/artemis/documentation/latest/data-tools.html#data-tools) ### Usage ``` $ ./bin/export help usage: export [] The most commonly used export commands are: help Display help information kahadb Export a KahaDb store to Artemis XML mkahadb Export a MultiKahaDb store to Artemis XML See 'export help ' for more information on a specific command. ``` ``` $ ./bin/export help kahadb NAME export kahadb - Export a KahaDb store to Artemis XML SYNOPSIS export kahadb [-c] [-f] [(--qp | --queuePattern )] (-s | --source ) (-t | --target ) [(--tp | --topicPattern )] [(--vt | --virtualTopicConsumerWildcards )] OPTIONS -c Compress output xml file using gzip -f Force XML output and overwrite existing file --qp , --queuePattern Queue Export Pattern -s , --source Data store directory location -t , --target Xml output file location --tp , --topicPattern Topic Export Pattern --vt , --virtualTopicConsumerWildcards Virtual Topic Consumer Pattern list ``` ### Examples: Export entire store: `./bin/export kahadb --source /some/directory/kahadb/ --target ~/some/directory/output.xml` Export entire store and compress the resulting xml: `./bin/export kahadb --source /some/directory/kahadb/ --target ~/some/directory/output.xml -c` Export all topics but only queues matching pattern: `./bin/export kahadb --qp test.queue.> --source /some/directory/kahadb/ --target ~/some/directory/output.xml` Export entire store and migrate matching VirtualTopic consumer queues to durable subscriptions: `./bin/export kahadb --source /some/directory/kahadb/ --target ~/some/directory/output.xml --virtualTopicConsumerWildcards "Consumer.*.>;2"` ### Download: The official binary distribution for UNIX can be found via apache mirrors: ### ActiveMQ Client Tools 0.2.0 (July 24 2020) ||||| |---|---|---|---| |Unix/Linux/Cygwin|[activemq-cli-tools-0.2.0-bin.tar.gz](https://www.apache.org/dyn/closer.cgi?filename=activemq/activemq-cli-tools/0.2.0/activemq-cli-tools-0.2.0-bin.tar.gz&action=download)|[SHA512](https://dist.apache.org/repos/dist/release/activemq/activemq-cli-tools/0.2.0/activemq-cli-tools-0.2.0-bin.tar.gz.sha512)|[GPG Signature](https://dist.apache.org/repos/dist/release/activemq/activemq-cli-tools/0.2.0/activemq-cli-tools-0.2.0-bin.tar.gz.asc)| |Source Code Distribution|[activemq-cli-tools-parent-0.2.0-source-release.zip](https://www.apache.org/dyn/closer.cgi?filename=activemq/activemq-cli-tools/0.2.0/activemq-cli-tools-parent-0.2.0-source-release.zip&action=download)|[SHA512](https://dist.apache.org/repos/dist/release/activemq/activemq-cli-tools/0.2.0/activemq-cli-tools-parent-0.2.0-source-release.zip.sha512)|[GPG Signature](https://dist.apache.org/repos/dist/release/activemq/activemq-cli-tools/0.2.0/activemq-cli-tools-parent-0.2.0-source-release.zip.asc)| The keys file for verifying the release SHA512s can be obtained [here](https://www.apache.org/dist/activemq/KEYS)