How do I create non-perstisted EJB timers in JBoss EAP 4 / 5

Solution Unverified - Updated -

Issue

  • Expired interval timers re-expire on JBoss restart for example
  • We have some timers that need to survive JBoss restarts, but others  that will just be recreated at startup, so we don't want to persist  those.
  • in JBoss timers are persisted based on static policy defined in  ejb-deployer.xml; is there a way to decide whether to persist a timer or  not at runtime?

Environment

  • JBoss Enterprise Application Platform (EAP) 4.3.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.