[
https://issues.jboss.org/browse/WFLY-2215?page=com.atlassian.jira.plugin....
]
David Lloyd commented on WFLY-2215:
-----------------------------------
It is *always* wrong to perform service start tasks in the constructor of the service.
WorkManagerService does not start work manager
----------------------------------------------
Key: WFLY-2215
URL:
https://issues.jboss.org/browse/WFLY-2215
Project: WildFly
Issue Type: Enhancement
Components: JCA
Affects Versions: 8.0.0.Beta1
Reporter: Bartosz Baranowski
Assignee: Stefano Maestri
Fix For: 8.0.0.Beta1
WorkManagerService does not start/restart WorkManager
https://github.com/wildfly/wildfly/blob/master/connector/src/main/java/or...
WorkManager is set in constructor. In stop method, WorkManager.shutdown() is called.
start() should invoke WorkManager.cancelShutdown().
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira