0 Replies Latest reply on Dec 5, 2008 10:02 AM by wendy123

    heartbeat mbean for timerservice in ejb3.0

    wendy123

      Hi all,
      as we know, the below jboss-service.xml description can define a timerservice mbean to generate the heartbeat, and the mbean which implements the notification listener interface can handle the heartbeat message.

      jboss.monitor.heartbeat
      JBoss is alive!
      60sec
      <depends optional-attribute-name="TimerMBean">
      jboss.monitor:name=Heartbeat,type=Timer



      My question is how to do it using ejb3 annotations instead of the xml?