[jboss-jira] [JBoss JIRA] Commented: (JBMESSAGING-1641) Stopping the bridge service doesn't stop the failure handler
Howard Gao (JIRA)
jira-events at lists.jboss.org
Wed Jun 10 07:11:56 EDT 2009
[ https://jira.jboss.org/jira/browse/JBMESSAGING-1641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12471397#action_12471397 ]
Howard Gao commented on JBMESSAGING-1641:
-----------------------------------------
The simplest solution is to add a boolean flag forceStop for the failure handler threads. In bridge stop(), we set it to true. In the retry loop of the failure handler, we check the flag after each retry. If the flag is true, stop retry and returns. The thread will then stop.
> Stopping the bridge service doesn't stop the failure handler
> ------------------------------------------------------------
>
> Key: JBMESSAGING-1641
> URL: https://jira.jboss.org/jira/browse/JBMESSAGING-1641
> Project: JBoss Messaging
> Issue Type: Bug
> Components: Messaging Core
> Affects Versions: 1.4.0.SP3.CP08, 1.4.4.GA
> Reporter: Howard Gao
> Assignee: Howard Gao
> Fix For: 1.4.0.SP3.CP09, 1.4.5.GA
>
>
> when bridge is stopped via the JMX, the stop() action doesn't stop the failure handler, which will keep trying to reconnect even after bridge service has been stopped.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list