HornetQ CLI Management Tool.
Connects & interact through JMX with an HornetQ server instance. Allows retrieval of :
- VM uptime, heap size, threads, file descriptors
- Messaging Core queues
- Diverts
- Cluster status & nodes
Interactive commands allows to :
- Destroy core queues
- Kick a client session
- Delete messages from a core queue
git clone git://github.com/mchaplin/hq-console.git
mvn package
Binary release is available under target/hq-console--jar-with-dependencies.jar
By default, tries to connect to localhost, at port 6001. Target host and port can be specified with :
java -jar /usr/local/bin/hq-console/hq-console-0.6.1-SNAPSHOT-jar-with-dependencies.jar -h <host> -p <port>
To specify the RMI port to use for remote JMX add the following option to the variable JVMARGS or the java command line in the run.sh script :
-Dcom.sun.management.jmxremote.port=6001
If the static RMI port has been set with jmx-staticport-agent then you have to had the jar in your classpath.
Once connected, use 'help' command