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 Tue, 12 Aug 2008 15:03:20 GMT
2008/6/25 shaf <shaffin.bhanji@gmail.com>:
>
> Gents,
>
> I am really having a hard time trying to get a list of queues
> programmatically (Java). I have seen the DestinationSource (
> connection.getDestinationSource() ) working on my local laptop but when
> deployed onto the server environment, it returns a null for some reason and
> I know there are queues available.

It takes some time for all the destinations to arrive from the server
- have you tried waiting a few seconds?

Have you read this?
http://activemq.apache.org/how-do-i-create-new-destinations.html

i.e. are you sure there are queues on the server with messages in them?

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

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

Mime
View raw message