How to access a Bonita JMX Indicator in JAVA ?

1
0
-1

Hello

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?

Looking https://stackoverflow.com/questions/16583859/execute-a-method-with-jmx-without-jconsole

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?

Thanks,

No answers yet.
Notifications