Re: Messages stuck in pending state in queue

2013-07-16 Thread pkorwar
I also thought so, but creating the ConnectionFactory repeatedly has caused the issues for me. It is very easy to reproduce. Just put the creation of ConnectionFactory in a loop and send messages from the connections obtained. You will be able to reproduce if my observation is correct with ActiveM

Re: Messages stuck in pending state in queue

2013-07-16 Thread Christian Posta
You should write a test that shows this is the case. Creating the connection factory in a script like you describe shouldn't have anything to do with messages becoming queued up in a destination. On Tue, Jul 16, 2013 at 2:34 PM, pkorwar wrote: > Yes, after 2 days of testing, the messages are no

Re: Messages stuck in pending state in queue

2013-07-16 Thread pkorwar
Yes, after 2 days of testing, the messages are not getting stuck in a pending state. So, this means that, creating and destroying the ActiveMQConnectionFactory repeatedly is creating some problems. So, this should be either documented or fixed so that users won't get caught in a situation where it

Re: Messages stuck in pending state in queue

2013-07-13 Thread pkorwar
I think I know the problem for the pending messages. I will confirm in 2 days since I need to more time to test before I can exactly tell that this was the problem. Somebody else should test this, and try to reproduce it. Here is the scenario. I have 2 types of jms clients. One client resides in

Re: Messages stuck in pending state in queue

2013-07-13 Thread Mohit Anchlia
Do they ever get picked up i.e if you reconnect consumers? Sent from my iPhone On Jul 13, 2013, at 12:09 PM, pkorwar wrote: > Yes, consumers are alive when the messages are stuck ! > > Thanks > Pramod > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Messag

Re: Messages stuck in pending state in queue

2013-07-12 Thread pkorwar
Yes, consumers are alive when the messages are stuck ! Thanks Pramod -- View this message in context: http://activemq.2283324.n4.nabble.com/Messages-stuck-in-pending-state-in-queue-tp4669239p4669249.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Messages stuck in pending state in queue

2013-07-12 Thread pkorwar
Mohit, Thanks for helping me! Here are the params I set after going through several forum threads where their messages were stuck. Pramod --- http://www.springframework.org/schema/beans"; xmlns:amq="http://activemq.apache.org/schema/core"; xmlns:xsi="http://www.w3.org/2001/XMLS

Re: Messages stuck in pending state in queue

2013-07-12 Thread Mohit Anchlia
You have consumers and still have pending messages ? Can you send your config and describe your situation? Sent from my iPhone On Jul 13, 2013, at 7:06 AM, pkorwar wrote: > Is there anybody using ActiveMQ 5.8 and does not have pending messages > problem? > If there is, then it is the way Activ

Re: Messages stuck in pending state in queue

2013-07-12 Thread pkorwar
Is there anybody using ActiveMQ 5.8 and does not have pending messages problem? If there is, then it is the way ActiveMQ is configured. So, please send me the info. Otherwise it is a bug. Thanks Pramod -- View this message in context: http://activemq.2283324.n4.nabble.com/Messages-stuck-in-pen

Re: Messages stuck in pending state in queue

2013-07-12 Thread pkorwar
I am using 5.8.0 now. pramod -- View this message in context: http://activemq.2283324.n4.nabble.com/Messages-stuck-in-pending-state-in-queue-tp4669239p4669245.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Messages stuck in pending state in queue

2013-07-12 Thread Christian Posta
Please try your use case out on a later version, at least 5.8.0. Can even try a snapshot of 5.9 On Friday, July 12, 2013, pkorwar wrote: > Hi all, > I have read several of the threads where people experienced messages stuck > in pending state in queues. > I see that ActiveMQ from version 5.1 on