activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ocoolio <ad...@freemail.hu>
Subject Re: Exactly 500 stuck messages in the Q
Date Mon, 06 Aug 2007 07:17:21 GMT

Hey James!

Sure I am! I do commit the transaction on every 1000 messages or 2 seconds
if no messages were received.
Thats why it usually works, but there is the "sometimes" case :)


James.Strachan wrote:
> 
> are you sure you are acknowledging the messages (either using auto-ack
> mode, committing transactions or calling message.acknowledge()?
> 
> On 8/1/07, ocoolio <adamh@freemail.hu> wrote:
>>
>> Hello!
>>
>> I've just bumped into a strange problem. Sometimes, but not always, on a
>> fast producer/slow consumer case the consumer leaves exactly 500 messages
>> in
>> the queue.
>> When restarting the consumer, the 500 is processed.
>> It happens when I send a lot (>100 000) of messages in the queue, but not
>> always.
>> I've read some have something like this, but no solution was found.
>> I'm using apache-activemq-5.0-20070710
>> NMS built from source.
>>
>> Any ideas?
>>
>> Thanks,
>>
>> Adam
>> --
>> View this message in context:
>> http://www.nabble.com/Exactly-500-stuck-messages-in-the-Q-tf4198835s2354.html#a11942013
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> James
> -------
> http://macstrac.blogspot.com/
> 
> 

-- 
View this message in context: http://www.nabble.com/Exactly-500-stuck-messages-in-the-Q-tf4198835s2354.html#a12012002
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message