0 Replies Latest reply on Jun 21, 2007 11:54 AM by Jamie Reifsnyder

    Changing the interval on a running MBean implementing Schedu

    Jamie Reifsnyder Newbie

      Hi there,

      I have created several services that start and run at different intervals on my JBoss server (4.0.5).

      One service provides periodic logging of usage statistics for the server (e.g. how many users are logged in). We would like to make the interval configurable programmatically, so that our customers can balance the amount of logging against the performance hit.

      Is there any way to change the interval programmatically? I am setting it in the jboss-service.xml file in the META-INF directory of the SAR.