[prev in list] [next in list] [prev in thread] [next in thread]
List: jboss-user
Subject: [jboss-user] [JMX] - How to add listeners for notifications
From: menegazzo <do-not-reply () jboss ! com>
Date: 2009-11-30 16:43:12
Message-ID: 26946219.1259599392181.JavaMail.jboss () nukes01 ! app ! mwc ! hst ! phx2 ! redhat ! com
[Download RAW message or body]
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>
|
The code above does not work, it says my xml is malformed (Field value invalid: \
name=null), but i cant see where it is this error.
Thanks in advance
View the original post : \
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268137#4268137
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268137
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic