Clustered EJB timers in JBoss EAP 6/7
Issue
-
There is a
stateless EJBwhich has thejavax.ejb.TimerServiceinjected into it. When theJBosscluster starts, A method needed to be triggered on thisEJBso that it can schedule a repeating timer. -
The timers are needed to be resilient and tolerant of failover.
-
Updating Timer in a cluster using a singleton service.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7.x
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.