Does anyone know whether this has been fixed? If so, how can I patch my existing server with the fix (I dont have any build libraries to re-build the source)?
It is critical for me to have the ability to browse for queues via the Java API's Thanks, shaf. ttmdev wrote: > > FYI - the "Destination" link @ the top of > http://activemq.apache.org/activemq-510-release.html is broken. > > Joe > > > James.Strachan wrote: >> >> BTW you can listen to destinations being added/removed by calling the >> setDestinationListener method on the DestinationSource >> >> >> >> 2008/5/8 shaf <[EMAIL PROTECTED]>: >>> >>> Hello, >>> >>> I am trying to get a list of existing Queues with the following code: >>> >>> ActiveMQConnectionFactory connectionFactory = new >>> ActiveMQConnectionFactory( server ); >>> ActiveMQConnection amqcon = >>> connectionFactory.createConnection(); >>> Set<ActiveMQQueue> amqs = >>> amqcon.getDestinationSource().getQueues(); >>> Iterator<ActiveMQQueue> queues = amqs.iterator(); >>> >>> while ( queues.hasNext() ) >>> { >>> ActiveMQQueue queue = queues.next(); >>> System.out.println( "Queue: " + queue.getPhysicalName() >>> ); >>> } >>> >>> The code above does not work consistently. I have a sample queue as >>> well as >>> one that I created using the admin interface and none show up. Can >>> someone >>> provide some guidance here please. >>> >>> Thanks, >>> Shaf. >>> -- >>> View this message in context: >>> http://www.nabble.com/AMQ-5.1---How-to-get-a-list-of-Queues-tp17117156s2354p17117156.html >>> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >>> >>> >> >> >> >> -- >> James >> ------- >> http://macstrac.blogspot.com/ >> >> Open Source Integration >> http://open.iona.com >> >> > > -- View this message in context: http://www.nabble.com/AMQ-5.1---How-to-get-a-list-of-Queues-tp17117156p18112068.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.