[jboss-jira] [JBoss JIRA] Closed: (JBMESSAGING-1469) DiscoveryGroup can not be restarted
Tim Fox (JIRA)
jira-events at lists.jboss.org
Thu Feb 19 09:02:44 EST 2009
[ https://jira.jboss.org/jira/browse/JBMESSAGING-1469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Fox closed JBMESSAGING-1469.
--------------------------------
Resolution: Done
> DiscoveryGroup can not be restarted
> -----------------------------------
>
> Key: JBMESSAGING-1469
> URL: https://jira.jboss.org/jira/browse/JBMESSAGING-1469
> Project: JBoss Messaging
> Issue Type: Bug
> Components: JMS Clustering
> Reporter: Jeff Mesnil
> Assignee: Tim Fox
> Priority: Minor
> Fix For: 2.0.0 Beta
>
>
> in JBM2 trunk, the DiscoveryGroup is exposed as MBean with start()/stop() operations.
> However, once the discovery group has been stopped once, it can not be started again: the DiscoveryGroup's thread has been joined in stop() and we can not call start() again on the same thread instance in DiscoveryGroup.start().
> Tim, do you expect the DiscoveryGroup to be stoppable only once or can it be stopped/started many times?
> If it must be stoppable only once, I just need to add a check in the MBean.
> Otherwise, I'll rewrite the DiscoveryGroup to create a new thread instance in its start() method instead of its constructor
--
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