activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: how find a queue?
Date Wed, 06 Jun 2007 08:29:45 GMT
On 6/6/07, Raffaele <r.gambelli@prismasw.it> 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/

Mime
View raw message