hornetq/hornetq — pull request #1925 by jbertram (2014-10-21 15:50:52+00:00)
Title: HORNETQ-1437 Keep JNDI when destroying JMS queues

Change the semantics of the destroyTopic(java.lang.String, boolean) and
destroyQueue(java.lang.String, boolean) methods on
org.hornetq.api.jms.management.JMSServerControl so that if false is
passed as the second parameter (which means that consumers connections
should not be closed) and consumers are attached to the topic/queue
then the JNDI bindings are not removed.