[
https://issues.jboss.org/browse/WFLY-5863?page=com.atlassian.jira.plugin....
]
James Perkins commented on WFLY-5863:
-------------------------------------
The pull request was merged, but there's an issue with the
[{{ScheduledCallableFuture}}|https://github.com/wildfly/wildfly/blob/bae55abadedf57183f51875d3377d043924197c5/ee/src/main/java/org/jboss/as/ee/concurrent/ScheduledCallableFuture.java].
It delegates the {{isDone()}} to the {{underlying}} variable but {{get()}} uses the
Callable, but the state of the {{underlying}} task requires {{get()}} to be invoked to
change the state. So {{isDone()}} will never return {{true}}.
EE concurency should queue scheduled tasks, instead of failing on
timeout
-------------------------------------------------------------------------
Key: WFLY-5863
URL:
https://issues.jboss.org/browse/WFLY-5863
Project: WildFly
Issue Type: Feature Request
Components: EE
Reporter: Stuart Douglas
At the moment if a scheduled task is queued and its execution happens when the server is
suspended then the task will fail with an exception. It would be better if this was queued
as with EJB timers.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)