ow2-proactive/programming

JMXNotificationManager does not unsubscribe NotificationListener from local MBean Server

activeeon-bot opened this issue · 0 comments

Original issue created by Marek Zawirski on 18, Aug 2014 at 15:17 PM - PALIGHT-71


When NotificationListener is registered through JMXNotificationManager.subscribe(ObjectName, NotificationListener) on local JMX MBean Server, it can not be unregistered through JMXNotificationManager.unsubscribe(ObjectName, NotificationListener).
Provided objectName is not in allListeners map, so method returns immediatelly with warning, leaving listener still subscribed.