[jboss-jira] [JBoss JIRA] Created: (JBMESSAGING-1469) BroadcastGroup can not be restarted

Jeff Mesnil (JIRA) jira-events at lists.jboss.org
Thu Dec 18 09:23:54 EST 2008


BroadcastGroup 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 BroadcastGroup is exposed as MBean with start()/stop() operations.

However, once the broadcast group has been stopped once, it can not be started again: the BroadcastGroup's thread has been joined in stop() and we can not call start() again on the same thread instance in BroadcastGroup.start().

Tim, do you expect the BroadcastGroup 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 BroadcastGroup 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