2008/6/25 shaf <[EMAIL PROTECTED]>:
>
> 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

Reply via email to