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: AMQ 5.1 - How to get a list of Queues
Date Thu, 08 May 2008 14:20:30 GMT
2008/5/8 shaf <shaffin.bhanji@gmail.com>:
>
>  Thanks guys, so when I try to create a Queue using the following:
>
>         ActiveMQSession session = this.con.getConnection().createSession(false,
>  Session.AUTO_ACKNOWLEDGE);
>         // create queue
>         Queue request = session.createQueue( name );
>         System.out.println("The queue has been created: " + request.getQueueName()
>  );
>         Thread.sleep( 3000 );
>
>  An then I try to list the queues in the previous code snippet, it does not
>  show up. When I try using the admin console, I still dont see the queue that
>  I created! Is there something wrong or is this a bug??

Creating queues on the client do not create broker side queues until
you send a message to them.

http://activemq.apache.org/how-do-i-create-new-destinations.html

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

Open Source Integration
http://open.iona.com

Mime
View raw message