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 <pkor...@yahoo.com> wrote: > 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 is very hard to recognize > the > problem > in the first place ! > > Thanks > Pramod > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Messages-stuck-in-pending-state-in-queue-tp4669239p4669379.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta