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

    • Feature Request
    • Resolution: Done
    • Major
    • 20.0.0.Beta1, 20.0.0.Final
    • None
    • EJB
    • None

    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

              cfang@redhat.com Cheng Fang
              rhn-support-rhsilva Rhuan Rocha (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: