On 6/6/07, Raffaele <[EMAIL PROTECTED]> wrote:

Hi,

the createQueue method is implemented in this way:
public Queue createQueue(String queueName) throws JMSException {
         checkClosed();
         return new ActiveMQQueue(queueName);
     }

And so, a new Object is created....Going deeper in the code I have seen no
mechanism about retrieving already existing Queue based on its name. Perhaps
am I wrong?

This FAQ entry should clear up any confusion
http://activemq.apache.org/how-do-i-create-new-destinations.html

(basically client side objects != server side queues)

--
James
-------
http://macstrac.blogspot.com/

Reply via email to