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 Wed, 25 Jun 2008 13:20:36 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??

No this is not a bug - please read
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