2 Replies Latest reply on Nov 13, 2013 11:08 AM by Tom Cunningham

    ¿Can a scheduler be configured out of the jboss-esb.xml file?

    Pablo Lozano Newbie

      Hi,

       

      I'm trying to create a service triggered by a scheduler, so I have something like this in my jboss-esb.xml file:

       

      <schedule-provider name="schedule">
        <!--fired every 5 minutes -->
        <cron-schedule cronExpression="0 0/5 * * * ?" scheduleid="cron-trigger" />
      </schedule-provider>
      

       

      My problem is our client wants to be able to change the periodicity of the execution, even if he has to restart the server, but without modifying the ESB file (no redeploys).

      There are more parameters that he wants to be modifiable, but as they are part of our logic I can add them in any properties or XML file, but I can't figure how to solve this one.

      Any hint?

       

      Thanks in advance