As the API Gateway uses a pretty vanilla implementation of Oracle Java--it is very much possible to accomplish this but is unsupported to do so. If you absolutely must integrate the Gateway with JMX then I have the following caveats:
- Be aware of the Observer Effect. Such monitoring will have an impact on the performance--and performance tends to be the biggest reason for implementing JMX.
- JMX will need to be disabled prior to opening any performance-related issue with CA Support as modifying the JVM implementation and integration is unsupported
That said: You can consult Oracle's documentation for how to implement JMX with a Java-based implementation