You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Francois Guillemette <fr...@trilliantnetworks.com> on 2007/09/10 15:39:11 UTC

Re: Consumer hang after broker restart

This was logged as bug with
https://issues.apache.org/activemq/browse/AMQ-1251.

It is now fixed in the trunk version of activemq as of revision 573400.
:clap:


Francois Guillemette wrote:
> 
> I have redo this test with revision 555644 (ActiveMq 5.0 Snapshot), it
> still doesn't work when I set a prefetch value. Without a prefetch value,
> it behave correctly. 
> 
> I have do an another test that seem to expose a bug when setting a
> prefetch with slow consumer. 
> 1- I started a broker. 
> 2- I started 2 slow consumer on 2 other jvm (queue prefetch set to 1, 5
> seconds between each message, failover:(tcp://localhost:61616)). 
> 3- I started 1 producer (40 msgs-persistent on queue TEST.FOO) 
> 4- I waited for all the message to be consumed (here everithing is fine). 
> 5- I started an other producer (40 msgs-persistent on queue TEST.FOO)
> 6- No consumers eat... but with the JMX console I can see the 40 msgsin
> the queue, and I see that 2 consumers are connected.
> 7- If I stop the connection with JMX, the consumer reconnect and begin to
> eat.
> 
> But if I don't set the prefetch value, everything is working correctly.
> 
> 
> Francois Guillemette wrote:
>> 
>> ...
>> 
> 
> 



-- 
View this message in context: http://www.nabble.com/Consumer-hang-after-broker-restart-tf3811795s2354.html#a12592964
Sent from the ActiveMQ - User mailing list archive at Nabble.com.