Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.0-rc2
  • Labels:
    None
  • Similar Issues:
    None

Description

Attached is a patch for Jmx agents.

  • added support for J2SE 5.0 build-in jmx support
  • added support for jmx remoting
  • decoupled jmx agent from http adaptors
  • added support for Log4j jmx management
  • added support for statistics as beans

Note:

  • the ComponentService has been derived to ComponentService2 but these classes should be merged.
  • the three agents defined in org.mule.management.agent are deprecated
  • the JmxAgent has two properties: locateServer (defaults true) and createServer (defaults true)
    if locateServer is true, the agent will first try to locate an existing mbean server
  • the property connectorServerUrl on JmxAgent can be used to create a remote connector for the jmx server
  • you can add both jdmk (ri) and mx4j http adaptors

Sample mule config:

<agents>
<agent name="JmxAgent" className="org.mule.management.agents.JmxAgent" />
<agent name="JdmkAgent" className="org.mule.management.agents.JdmkAgent" />
<agent name="Mx4jAgent" className="org.mule.management.agents.Mx4jAgent" />
<agent name="Log4jAgent" className="org.mule.management.agents.Log4jAgent" />
</agents>

Any comments are welcome...

Cheers,
Guillaume

Activity

Hide
Guillaume Nodet added a comment -

Patch

Show
Guillaume Nodet added a comment - Patch
Hide
Ross Mason added a comment -

Thanks for submitting this Guillaume

Show
Ross Mason added a comment - Thanks for submitting this Guillaume

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: