0 Replies Latest reply on Jan 21, 2009 3:01 PM by Jamie Reifsnyder

    Changing scheduled tasks programmatically

    Jamie Reifsnyder Newbie

      Hi there,
      I have created a scheduled task and can manage it happily through the JMX console, however I have been unable to get to it programmatically. I have tried setting it up as an MBean (as was recommended somewhere else on this site) and cannot access it from other MBeans. I can get the MBeanServer object from JBoss, but still can't figure out how to edit params for my scheduled task.

      I would like to be able to change the interval of the task on the fly, from my app. How do I get a handle for the scheduled task? Has anyone done this?

      Thanks!
      JReifsnyder