James.Strachan wrote: > > I'd start() the connection first - then wait a few seconds; the > advisories are asynchronously sent once a connection starts >
I added a Thread.sleep(10000); call right after I started the connection, but still no effect. This is exactly what I am doing. Let me know if I am missing a step. * Start the ActiveMQ standalone broker. * Create a queue using the ActiveMQ Web UI. * Run this test API. ** Does not return anything. * Send a message to the queue. ** Try again. No change. * Creat a subscriber and dequeue the message (just to register a subscriber). ** Try running the test API again. No luck still.. -- View this message in context: http://www.nabble.com/Discovering-queues-programmatically-and-dequeuing-messages-off-of-them-tp19538405p19555040.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.