Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-12733

EJB Timers: Forcing refresh timers in a database-data-store in a clustered environment

    XMLWordPrintable

    Details

      Description

      The EJB Timer has a way to persist timers in a database using datasources. It is described here. The database-data-store has an attribute called refresh-interval that define a time in milliseconds to refresh the timers reading the timers from database. Look this sample of configuration.

      <data-stores>
                              <file-data-store name="default-file-store" path="timer-service-data" relative-to="jboss.server.data.dir"/>
                              <database-data-store name="clustered-store" datasource-jndi-name="java:/jdbc/MyDataSource" partition="timer" refresh-interval="60000" allow-execution="true"/>
                          </data-stores>
      

      The RFE is to Wildfly provide a way to force the refresh programmatically.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cfang Cheng Fang
              Reporter:
              rhn-support-rhsilva Rhuan Rocha
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: