activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shridharv <Shrid...@NeemTree.com>
Subject Re: Consumer Receive hangs
Date Thu, 07 May 2009 06:27:13 GMT

Found the problem and Solution

The number of outstanding messages received by a consumer and not committed
is dependent on the amount of memory allowed by MemUsageLimit.

Once I upped things began to hum again.


shridharv wrote:
> 
> Our consumer stops receiving further messages around 1000 messages. 
> 
> A commit has not been done at this point, as the consumer is waiting to
> get a whole batch of messages before processing them and then doing a
> Session.Commit. We need the ability to keep the Commit pending until we
> get even upto 10,000 messages.
> 
> AmQ 5.2 in Windows, Java consumer, SESSION_TRANSACTED, Kaha, Queue,
> -Xmx512M, CacheEnabled=true,CacheSize=8192, Single Consumer on the Queue,
> prefetchsize=0
> 

-- 
View this message in context: http://www.nabble.com/Consumer-Receive-hangs-tp23366597p23420969.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message