By default all custom modules are exposed in JMX/JConsole at runtime. You can easily add attributes or operations to your custom module that are available through JMX/JConsole at runtime. To make an attribute available be sure you add public getter and setter method to access your attribute. All public methods will be made available through JMX as long as they use simple Java types (String, int, long, boolean, short...).
This code only applies to Wowza Media Server 2 and 3.
For example, if you have a module MyModule
and you want to expose the attribute connectionLimit
and the method logSomething
the code will look something like this: