0 Replies Latest reply on Dec 7, 2008 3:58 AM by wendy123

    how to use annotation instead of xml to create a jboss hearb

    wendy123

      jboss implements a timerservice : org.jboss.monitor.services.TimerService

      we can define this mbean in jboss-service.xml and set its properties such as NotificationType, NotificationMessage, TimerPeriod. This mbean will be loaded from the xml file and start sending heartbeat msg.

      I want to know how to do this using annotation.