Once the server starts, you can read MBeans using Jolokia APIs. Following are a few examples.
- List all available MBeans: http://localhost:9763/jolokia/list (Change the appropriate hostname and port accordingly.)
- WSO2 ESB MBean: http://localhost:9763/jolokia/read/org.apache.synapse:Name=https-sender,Type=PassThroughConnections/ActiveConnections
- Reading Heap Memory: http://localhost:9763/jolokia/read/java.lang:type=Memory/HeapMemoryUsage
For more information on the JMX MBeans that are available in WSO2 products, see see Monitoring a WSO2 product with JConsole.