]
Ingo Weiss updated WFLY-8457:
-----------------------------
Environment: (was: JBoss EAP 7.x)
TimerService.getTimers() does not return persisted timers in
@PreDestroy method
-------------------------------------------------------------------------------
Key: WFLY-8457
URL:
https://issues.jboss.org/browse/WFLY-8457
Project: WildFly
Issue Type: Bug
Components: EJB
Affects Versions: 11.0.0.Alpha1
Reporter: Ingo Weiss
Assignee: Ingo Weiss
Attachments: TimerBean.java, TimerServiceEJBBug.jar
Original Estimate: 2 days
Remaining Estimate: 2 days
Injecting the TimerService with an @Resource annotation
{quote}
@Resource
private TimerService timerService;
{quote}
When I call timerService.getTimers().size() in the @PreDestroy method, it always return
0.
If I deploy the same application in jboss eap 6, then timerService.getTimers().size()
return 1.