Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JMX Notification

 
kri shan
Ranch Hand
Posts: 1462
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
kri shan
Ranch Hand
Posts: 1462
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JMX Notification Broadcaster and JMX Notification Listener follows Observer pattern. Is it correct ?
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes.
 
kri shan
Ranch Hand
Posts: 1462
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf, I guess, it follows Event Driven Architecture instead of Observer Pattern.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic