activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kpalania <>
Subject Re: Discovering queues programmatically and dequeuing messages off of them
Date Thu, 18 Sep 2008 15:06:19 GMT

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
** Try running the test API again. No luck still..

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message