activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Heitmann <>
Subject Re: createConsumer(Quque)
Date Wed, 20 Dec 2006 19:40:50 GMT
Recovery using the existing persistence stores is very resource  
intensive, and occurs by default when the queue is autovivified. You  
can alleviate the problem somewhat by forcing queue recovery at  
startup by explicitly listing the queue in your broker config:

That will mean startup takes ages, but then the first queue consumer  
to join won't be so bad off.

If you have large messages and a large prefetch then you might also  
be getting hurt by the initial prefetch burst. As a test try lowering  
prefetch to 1 and see if there's a performance difference.


On Dec 20, 2006, at 5:59 AM, Arboz wrote:

> I have persistent queue with a lot of messages. Size of queue is  
> very large.
> Create consumer operation isn't accomplished for long time.
> Why it's happened? What can I do?
> Thank you.
> -- 
> View this message in context: 
> 28Quque%29-tf2859903.html#a7990492
> Sent from the ActiveMQ - Dev mailing list archive at

View raw message