Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Compilation

    Code Block
    languagebash
    javac JMXClient.java
  2. Execution

    Code Block
    languagebash
    java JMXClient <ObjectName> <DelayInMillis>

    Replace <ObjectName> with the desired metric's ObjectName and <DelayInMillis> with the desired delay between checks in milliseconds.

Dependencies for JMX are already included in the JDK, making it easy to access and monitor HiveMQ metrics with these Java programs.

...