Can you check the web console (or JConsole) to check if there's everything ok regarding destinations/consumers and messages. As this is a simple scenario, there's probably some misuse. It's best to create a test that shows what you're seeing.
Regards -- Dejan Bosanac - http://twitter.com/dejanb ----------------- The experts in open source integration and messaging - http://fusesource.com ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Tue, Jun 7, 2011 at 12:21 PM, Yuvaraj Vanarase < yuvaraj.vanar...@synechron.com> wrote: > Hi, > > I am creating queues dynamically(as of now testing with 2 only). Every time > I create new connection at sender side (connection->session->queue->sender) > and also new connection to create message listeners. Creation of 2 queues > happens 1 minute interval. > I could see that for first queue messages are correctly enqueued and also > dequeued. However for 2nd queue, messages are correctly enqueued however not > a single message is dequeued. I do see the consumers though. > > More details: > > - I am using non transacted session only. > > - No any exception in activemq.log file > > - Using Jboss (MQ is not embeded), no exception on jboss > > - Well, I earlier used to close sender side connection once > sending finishes, however guessing that might be causing some issue, I do > not close any connections established > > - First queue consumers also do not pickup messages after some > time, so first queue does also have few pending messages > > Any pointers would be helpful? > > Regards, > Yuvaraj > > Yuvaraj Vanarase, > Lead Technology - Software > Phone: +91.20.40262000 Ext 2305|Mobile: +91.9850818870 | > http://www.synechron.com > SYNECHRON - > - Top 10 Best IT Employers for 4 consecutive years (link< > http://www.synechron.com/news/news_best_employer_sep2010.htm>). > - Celebrating 10 Years! > >