Meaningless Drivel is fun!*
The moose likes Other JSE/JEE APIs and the fly likes JMX Notification Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "JMX Notification" Watch "JMX Notification" New topic
Author

JMX Notification

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1382
JMX Notification Broadcaster, broadcast the message. But JMX Notification Listener is not Listening. Is there a way to persist the message/retry the message similar to JMS/broker ?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42599
    
  65
You could register a listener for all messages you're interested in that persist them in some way. It could expose (via JMX , of course :-) ) an action that causes it to send all buffered notifications. So it would be a listener, a broadcaster, and also expose an MBean.


Ping & DNS - my free Android networking tools app
kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1382
JMX Notification Broadcaster and JMX Notification Listener follows Observer pattern. Is it correct ?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42599
    
  65
Yes.
kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1382
Ulf, I guess, it follows Event Driven Architecture instead of Observer Pattern.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JMX Notification