activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pclovec <>
Subject pendingmessagelimit option seems doesn't work!
Date Wed, 11 Mar 2009 01:40:09 GMT

fast producer -> slow consumer set up here with durable conmuser and a 
topics by NMS(donet)
i try to test MaxPendingMessageLimit this option. i  do this list
write the code in producer and durable conusmer side setup the 
session.Perfetch=10 ;
session.MaxPendingMaxlimit=20 ;
1. running producuer continue send message to topic
2. running consumer get 10 message after done.(now the consumer is stopped
and producer still send message to topic)
3. check the topic size and durable conusmer on web interface,
my pendingqueuesize(durable subscription) and mem still goes to grow. 

seems the Perfetch is works , but MaxPendingMessageLimit doesn't work. 
i try to uses another way to test it. change the activemq.xml config file
i go to activemq.xml to setup all topic policy , PendMessageLimie option.
but seems still doesn't work. 

do i missing something or this option can't work with durable consumer?
please advise.
                   <policyEntry topic=">">
                             <strictOrderDispatchPolicy />
              <constantPendingMessageLimitStrategy limit="10"/> 


View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message