Skip to content
This repository has been archived by the owner on Feb 11, 2019. It is now read-only.

dmengelt/qmon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qMon - Build Status

Manage your HornetQ enabled Java backend. qMon is a simple Spring Boot app to control your HornetQ queues and topics through JMX.

qMon index view

Installation & Usage

  1. Install node.js, Maven and Java 8

  2. Install bower and the used bower packages:

$ npm install -g bower
$ cd <qmon-dir>
$ bower install
  1. Build and Run
$ mvn clean package
$ java -Dqmon.config=/absolute/path/to/config.json -Dserver.port=<server-port> -jar target/ch.filecloud.queue-monitor-<version>.jar

The application will be available on http://localhost:<server-port>

Make sure your HornetQ enabled server was started with the following properites:

-Dcom.sun.management.jmxremote.ssl=false              // for now
-Dcom.sun.management.jmxremote.authenticate=false     // for now
-Dcom.sun.management.jmxremote.local.only=false
-Dcom.sun.management.jmxremote.port=<your-jmx-port>

Sample config JSON

{
    "environments":
     [
            {
                "key": "localhost2",
                "hostname":"localhost",
                "jmxPort":"9006",
                "order": 2,
                "label":"local2",
                "stage": "DEV"
            },
            {
                "key": "localhost",
                "hostname":"localhost",
                "jmxPort":"9005",
                "order": 1,
                "label":"local",
                "stage": "DEV"
            }
     ]
}

Artifacts

The latest snapshot build (executable jar) can be found here: http://artifacts.filecloud.ch/content/repositories/snapshots/ch/filecloud/ch.filecloud.queue-monitor/

About

🐝 spring-boot app to delete your durable HornetQ topic subscriptions

Resources

Stars

Watchers

Forks

Packages

No packages published