You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Frank Trietsch (JIRA)" <ji...@apache.org> on 2006/11/19 20:53:02 UTC
[jira] Created: (SM-748) Restart of ServiceUnits using
PollingEndpoints fails
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
[jira] Resolved: (SM-748) Restart of ServiceUnits using
PollingEndpoints fails
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-748?page=all ]
Guillaume Nodet resolved SM-748.
--------------------------------
Resolution: Fixed
Assignee: Guillaume Nodet
You're right. As the executor is owned by the component, it should not be shutDown.
Thanks !
Author: gnodet
Date: Wed Nov 22 12:42:24 2006
New Revision: 478314
URL: http://svn.apache.org/viewvc?view=rev&rev=478314
Log:
SM-748: Restart of ServiceUnits using PollingEndpoints fails
Modified:
incubator/servicemix/trunk/common/servicemix-common/src/main/java/org/apache/servicemix/common/endpoints/PollingEndpoint.java
> 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
> Assigned To: Guillaume Nodet
> 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