Restart of ServiceUnits using PollingEndpoints fails
----------------------------------------------------
Key: SM-748
URL: https://issues.apache.org/activemq/browse/SM-748
Project: ServiceMix
Issue Type: Bug
Components: servicemix-common
Affects Versions: 3.1
Environment: ServiceMix 3.1-SNAPSHOT, JBoss 4.0.4.GA
Reporter: Frank Trietsch
Priority: Critical
Fix For: 3.1
When an PollingEndpoint (for example FilePollingEndpoint) is stopped and
restarted, the poll() method is never called again, because the service unit's
executor has been shut down in the PollingEndpoint.stop() method.
FIX:
Just removing line 138 "executor.shutdown()" helped for me, but I'm not quite
sure, if there are any caveats about it.
Regards,
Frank
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira