Hi,
When using a custom JMX plugin (as in the demo), what kind of data should an MBean return in order to be able to display the operation's result using a configuration like (rhq-plugin.xml)
<operation name="snapshot"
displayName="snapshot"
description="Process snapshot.">
<results>
<c:list-property name="snapshots">
<c:map-property name="snapshot">
<c:simple-property name="id" description="process id"/>
<c:simple-property name="timeStamp" description="timestamp"/>
<c:simple-property name="value" > </c:simple-property>
</c:map-property>
</c:list-property>
</results>
</operation>
I've tried various combinations with Open MBean, but couldn't make it work.
Any ideas? Or can someone indicate a working example?
Thank you,
Alex