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