Re: Messages Stuck in the queue(with the broker)

2009-08-12 Thread guptaviv
FYI... When we switched over to 5.2... we did not face this problem. Looks like a bug in 5.1 version. Thanks all of you for your suggestions! Norbert Pfistner-2 wrote: We also experience stuck messages in activemq 5.1, slow consumers an jdbc persistance. Searching for the reason

Re: Messages Stuck in the queue(with the broker)

2009-07-27 Thread Norbert Pfistner
We also experience stuck messages in activemq 5.1, slow consumers an jdbc persistance. Searching for the reason and/or solution to this problem i stumbled last week on this blog entry: http://kovyrin.net/2009/01/23/activemq-tips-flow-control-and-stalled-producers-problem/ So we set up our

Re: Messages Stuck in the queue(with the broker)

2009-07-24 Thread smoc
guptaviv wrote: The problem is, very frequently the messages are stuck in the queue with the broker. The problem gets fixed after some time when you restart the broker or Listener but the issue reappears after some time again. Hi, we have the same problem with the dead letter

Re: Messages Stuck in the queue(with the broker)

2009-07-24 Thread bwtaylor
We experience this problem as well. It's a very serious issue, and I hope it gets some attention. We don't have test code that can reproduce it, as it seems intermittent. We can reproduce it when we get lucky by jamming a lot of messages into queues with slow consumers. We've seen it with single

Re: Messages Stuck in the queue(with the broker)

2009-07-23 Thread guptaviv
Sorry , Forgot to add that we are using activemq 5.1 and configuration for the broker is master slave share file system. guptaviv wrote: Hi, We are having the messaging setup where we are using one Listener and one one producer. I am trying to repeatedly send the messages through the

Re: Messages Stuck in the queue(with the broker)

2009-07-23 Thread Dejan Bosanac
Hi, I'm not really sure what your problem is. This code you sent just shows the producer that sends a message to the queue and expects the message from the other temporary queue. Is problem in receiving the message from this temp queue? Or do you have problems receiving messages sent from this

Re: Messages Stuck in the queue(with the broker)

2009-07-23 Thread guptaviv
Hi Dejan, We are implementing request-reply strategy for synchronous communication and so we create temporary queue and wait on it for the reply. The actual problem is that the producer is able to send the messages to the broker but the broker is not dispatching it to the listener (even though

Re: Messages Stuck in the queue(with the broker)

2009-07-22 Thread mkeenan
guptaviv wrote: Is there any solution/workaround to this issue. Please let me know if anyone has thoughts/advices on this. We have a cron job to restart the broker because of this same issue. I have tried numerous configuration settings on the broker, producers and consumers but still

Re: Messages Stuck in the queue(with the broker)

2009-07-22 Thread mkeenan
guptaviv wrote: Is there any solution/workaround to this issue. Please let me know if anyone has thoughts/advices on this. I want to clarify my earlier remark. I'm not claiming ActiveMQ broker is the root cause for the stuck messages. We are using Spring.NET and NMS too, so our scenario

Re: Messages Stuck in the queue(with the broker)

2009-07-22 Thread Dejan Bosanac
Hi, do you use auto ack for the consumer as well? It would be great if you could provide the source code that demonstrates the problem. Cheers -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net

Re: Messages Stuck in the queue(with the broker)

2009-07-22 Thread guptaviv
Thanks for the quick response Dejan/mkeenan. Yes we are using auto_acknowledge mode for both consumer and producer. Could this be a problem? Dejan,Here is my producer code: public class SynchMessageProducer { private static int deliveryMode; private static int ackMode;

Messages Stuck in the queue(with the broker)

2009-07-21 Thread guptaviv
Hi, We are having the messaging setup where we are using one Listener and one one producer. I am trying to repeatedly send the messages through the same producer. The problem is, very frequently the messages are stuck in the queue with the broker. The listener is absolutely free and but still