[jboss-jira] [JBoss JIRA] Created: (JBMESSAGING-1602) Remove code duplication for queue creation

Jeff Mesnil (JIRA) jira-events at lists.jboss.org
Fri Apr 17 11:15:22 EDT 2009


Remove code duplication for queue creation
------------------------------------------

                 Key: JBMESSAGING-1602
                 URL: https://jira.jboss.org/jira/browse/JBMESSAGING-1602
             Project: JBoss Messaging
          Issue Type: Bug
            Reporter: Jeff Mesnil
            Assignee: Tim Fox
             Fix For: 2.0.0.CR1


there should be only 1 place to create a (core) queue in JBM: MessagingServer.createQueue()

but this code is duplicated in:
MessagingServerImpl.doStart()
MessagingServerImpl.deployQueues()
MessagingServerControl.createQueue() (2 methods)
ServerSessionImpl.doHandleCreateConsumer (temp code for queue browsing)

All this duplicated code should be removed by making sure that MessagingServer.createQueue() handles everything.

-- 
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