Manage your HornetQ enabled Java backend. qMon is a simple Spring Boot app to control your HornetQ queues and topics through JMX.
$ npm install -g bower
$ cd <qmon-dir>
$ bower install
- 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>
{
"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"
}
]
}
The latest snapshot build (executable jar) can be found here: http://artifacts.filecloud.ch/content/repositories/snapshots/ch/filecloud/ch.filecloud.queue-monitor/