Re: Consumer not able to consumer messages from queue

2015-01-20 Thread xabhi
Hi, A similar issue happened again in my ActiveMQ broker setup where the broker didn't deliver any messages to a queue consumer for about an hour. I could see some of the msgs being held on the broker and the count kept on increasing during this time though other destinations were working fine and

Re: Consumer not able to consumer messages from queue

2015-01-15 Thread xabhi
Hi Art, Can you also please take a look at http://activemq.2283324.n4.nabble.com/Consumer-not-able-to-consume-messages-from-queue-tp4689594p4689835.html Thanks, Abhi -- View this

Re: Consumer not able to consumer messages from queue

2015-01-13 Thread Tim Bain
Mmm, I misunderstood what you'd written about where the bottleneck was occurring. Based on what you've said, it sounds like maybe your cursor is getting full of messages for which no consumer exists (maybe because they're in a session that was already closed?) and therefore the broker can't pull o

Re: Consumer not able to consumer messages from queue

2015-01-13 Thread xabhi
The producer is not blocked as the msgHeld value keeps increasing, its the consumer that stops consuming messages. >>Also, I was under the impression that it wasn't possible to set message TTL on the broker and that it could only be set by the producer; Yes, sorry about that it can be set by pro

Re: Consumer not able to consumer messages from queue

2015-01-13 Thread Tim Bain
I can't speak to the question about closing the session (I use Camel to interact with ActiveMQ, so I don't directly deal with the session), but even if that explains the increasing msgsHeld value, it doesn't explain the producer slowing down and eventually stopping its sends. So there might be mul

Re: Consumer not able to consumer messages from queue

2015-01-13 Thread xabhi
Thanks for the reply. I have disabled producer flow control on both topics and queues in my broker configuration and I have message TTL specified on broker side. The destination on which heartbeats are sent is a Queue on which 5 concurrent consumers are listening and the reply to destination is a

Re: Consumer not able to consumer messages from queue

2015-01-12 Thread artnaseef
Good point - when using this type of selector scenario, using message TTLs or some other means of making sure messages are consumed is important. As mentioned earlier, grabbing a stack trace may be telling, although it may be a little more difficult to understand since the DMLC is involved. Impac

Re: Consumer not able to consumer messages from queue

2015-01-12 Thread Tim Bain
You say you're doing request-response with a 60-second timeout on the response. If some of those responses took longer than 60 seconds, I'd expect that that particular response message wouldn't be removed from the response queue, and after some number of them I'd expect that the response queue wou

Re: Consumer not able to consumer messages from queue

2015-01-12 Thread xabhi
Please help i am not able to get anywhere with this issue. Atleast tell me what more information to collect and what things to look out for next time this issue happens which can help to resolve/debug this issue. Thanks, Abhi -- View this message in context: http://activemq.2283324.n4.nabble.

Re: Consumer not able to consumer messages from queue

2015-01-07 Thread xabhi
h will use same session to send back the ack)? Thanks, Abhi Does this behavior points in some direction I should look for? -- View this message in context: http://activemq.2283324.n4.nabble.com/Consumer-not-able-to-consumer-messages-from-queue-tp4689594p4689632.html Sent from the Activ

Re: Consumer not able to consumer messages from queue

2015-01-07 Thread artnaseef
related to producer flow control helps. Does a restart of the consumer application correct the problem, or is a broker restart absolutely necessary? -- View this message in context: http://activemq.2283324.n4.nabble.com/Consumer-not-able-to-consumer-messages-from-queue-tp4689594p4689621.html Sent

Consumer not able to consumer messages from queue

2015-01-07 Thread xabhi
the possible issues? I am using spring v4.0.5 and ActiveMQ 5.10 and activemq's pooled connection factory Thanks, Abhi -- View this message in context: http://activemq.2283324.n4.nabble.com/Consumer-not-able-to-consumer-messages-from-queue-tp4689594.html Sent from the ActiveMQ - User ma