Search code examples
timerejbwebsphere

EJB Timer retry Interval


Is it possible to increase the retry interval of EJB Timer in WAS ? When I m getting a database timeout error, the Timer was keep retrying after every 30 seconds which I dont want to be like that.


Solution

  • See the "Retries and missed timeouts" section of the Creating timers using the EJB timer service for enterprise beans topic in the knowledge center. Specifically:

    First retry attempt is immediate. Subsequent retry attempts occur on the configured scheduler poll interval for persistent timers, and on the configured retry interval for non-persistent timers.

    See the EJB timer service settings and Configuring a timer service topics in the knowledge center for more information on configuring the poll interval and other timer service settings.