Browser console scripts to streamline routine operational tasks on Apache ActiveMQ Artemis 7 (AMQ7) through the Broker Console web UI.
clear-queue-artemis-amq7.js— clears and resets one or more queues (flushes executor, removes all messages, resets counters, clears duplicate ID cache, and resumes).find-messages-limbo-artemis-amq7.js— identifies queues that have pending messages but zero consumers (messages stuck "in limbo").
- Apache ActiveMQ Artemis 7.
- Active session logged into the Artemis Broker Console (the scripts read the current URL to derive the broker identifier).
- Account permissions to execute the underlying operations (e.g.,
removeAllMessages,flushExecutor).
- Open the Artemis Broker Console and log in.
- Open your browser's developer console (usually
F12). - Copy the content of the desired script.
- Paste into the console and press Enter.
- When prompted, enter a comma-separated list of queue addresses.
- Scripts are best-effort utilities intended for operational use. Read them before running against production environments.
- Originally built for team use while working with Artemis queues day-to-day; published as standalone community utilities.
MIT.