This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 1372
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: 41155
    
  45
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: 1372
JMX Notification Broadcaster and JMX Notification Listener follows Observer pattern. Is it correct ?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41155
    
  45
Yes.
kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1372
Ulf, I guess, it follows Event Driven Architecture instead of Observer Pattern.
 
jQuery in Action, 2nd edition
 
subject: JMX Notification
 
Similar Threads
Inform user of a short break while restarting tomcat
Habarisoft announces open source monitoring for the Firebird RDBMS
notification in JMx
How to monitor dynamic values in JMX !!
Run jobs after Jboss finish Loading