You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by kkbrand2 <kh...@yahoo.com> on 2009/01/03 00:05:48 UTC

topic consumer prefetch in 5.2.0 not working?

I'm using ActiveMQ 5.2.0 on Windows. I'm trying a simple scenario with very
slow topic consumer and fast producer on the other side, all are regular
Java clients. No matter what I do the broker sends messages to the consumer
until the consumer runs out of memory. I tried to limit the prefetch using
all possible ways -- in the .xml config, using URIs and using the API, both
setting ActiveMQPrefetchPolicy into factory and/or Connection, nothing
works. My consumer runs out of memory. I assume because the broker keeps
sending messages into its prefetch queue.

This seemingly worked in 5.1.0 but the discarded messages were sent into DLQ
and I could not figure out how to prevent that.

Can anyone help me on this?

Thanks,
Kirill

-- 
View this message in context: http://www.nabble.com/topic-consumer-prefetch-in-5.2.0-not-working--tp21259833p21259833.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.