[jboss-user] [Management, JMX/JBoss] - Problem with notification filter?
java123
do-not-reply at jboss.com
Tue Oct 24 18:28:02 EDT 2006
I have a listener bean that subscribes to some of the monitoring beans. I am trying to filter notification coming from "JMImplementation:type=MBeanServerDelegate" with type "JMX.mbean.registered" and "JMX.mbean.unregistered". I have added mbean to my subscription list with filter attributes but it doesn't seem to work.
Ant ideas?
| <mbean code="com.bfm.app.monitoring.ViewserverJMXNotificationHandler"
| name="jboss.monitor:service=ViewserverMonitoring" >
| <attribute name="SubscriptionList">
| <subscription-list>
| <mbean name="jboss.monitor:service=MemoryMonitor">
| <notification type="jboss.alarm.memory"/>
| </mbean>
| <mbean name="jboss.monitor:service=JDBCMonitor">
| <notification type="jboss.notification.jdbc"/>
| </mbean>
| <mbean name="jboss.system:service=Logging,type=JMXNotificationAppender">
| <notification type="jboss.notification.logging"/>
| </mbean>
| <mbean name="JMImplementation:type=MBeanServerDelegate">
| <filter factory="NotificationFilterSupportFactory">
| <enable type="JMX.mbeank"/>
| </filter>
| </mbean>
| </subscription-list>
| </attribute>
| </mbean>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980556#3980556
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980556
More information about the jboss-user
mailing list