How to access a Bonita JMX Indicator in JAVA ?
Via Java Mission Control, we can access a set of JMX information on Bonita. There are visible under a folder "metrics" (Why not Bonita?).
Is someone has a piece of Java to access a Bonita JMX Indicator? In the documentation, https://documentation.bonitasoft.com/bonita/7.11/runtime-monitoring#toc2, there is no indication to do that in Java. Should be relatively standard, do you have an example?
we have to pass a "serviceURL". What is the URL? "localhost:8080/bonita"? Something else?
serviceUrl = new JMXServiceURL(URL);
Then it see it's mandatory to have a ObjectName. How to get the Bonita one? "bonita" ? "metrics" maybe?