This content has been marked as final.
Show 3 replies
-
1. Re: Problem with Emmiter / Listener
dimitris May 17, 2006 6:19 AM (in response to misge)Are the mbean names correct? Do they both exist?
-
2. Re: Problem with Emmiter / Listener
misge May 17, 2006 6:30 AM (in response to misge)Yes both of the names are correct. Individually can be deployed and i can see the ObjectName from the jmx console.
It also seems that the notification type should be the value and not the name of a public attribute. That's why i'm using ".1.3.6.1.4.1.1807.500.7.2.0" instead of package.mypath.myClass.MyOID
Should i have to defined it as managed-attribute in order to be exposed and have something like this<notification type="JBOSS_MONITOR_NOTIFICATION"/>
or the code above works only for well defined JBOSS attributes?
Cheers -
3. Re: Problem with Emmiter / Listener
dimitris May 17, 2006 6:36 AM (in response to misge)Notification type is the (string) type that is stored in the base javax.management.Notification, and it's used to setup a NotificationFilterSupport filter.