title: how can I check if a queue exists on Activemq
body: <p>I have this method that throws me an exception when the data queue doesn't exists, but is not. Do you have other way to solve this?</p>
  
  <pre><code>public void checkDataQueue(String dataQueue) throws JMSException {
  
            Connection connection = null;
            Session session = null;
            connection = jmsTemplate.getConnectionFactory().createConnection();
            session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
  
            Queue queue = session.createQueue(dataQueue);
            QueueBrowser browser = session.createBrowser(queue);
        }
  </code></pre>