Hello,
I'm trying to create a notification listener, is there any reference about notification types and how to structure the XML file?
I found this:
http://www.jboss.org/community/wiki/ExampleMinimalNotificationListener
But i would like to know where to find a complete reference, or at least another examples.
<server> <mbean code="br.com.framework.scheduler.SchedulerService" name="framework.scheduler:service=SchedulerService" xmbean-dd=""> <xmbean> <description>starts scheduler</description> <class>br.com.framework.scheduler.SchedulerService</class> <!-- Attributes --> <attribute name="SubscriptionList"> <subscription-list> <mbean name="*:*"> <notification type="JBOSS_MONITOR_NOTIFICATION"></notification> <notification type="JMX.mbean.registered"></notification> </mbean> </subscription-list> </attribute> <!-- Operations --> <operation> <description>Start service</description> <name>start</name> </operation> <operation> <description>Stop service</description> <name>stop</name> </operation> </xmbean> </mbean> </server>