activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sub3 <>
Subject Help with Topic Expirations
Date Mon, 10 Sep 2012 21:32:41 GMT

My topics messages aren't expiring. I want messages to expire after the
number of pending messages reach 10000, basically having the consumer not
get all the messages if it can't keep up. I thought the
pendingMessageLimitStrategy would give me this, but it doesn't appear to be
working as I configured it.

I've tried by starting a producer sending messages as fast as possible & a
consumer that only ingests a message every second. The producer is
eventually slowed down to sending about once a second.  My guess is that I
am not using the right parameters, here is my config file:

<broker xmlns=""
brokerName="base-broker" persistent="false" start="false">
  	     <policyEntry topic=">" expireMessagesPeriod="30000"
gcInactiveDestinations="true" >
		   <constantPendingMessageLimitStrategy limit="10000"/>

Thanks for any help.

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

View raw message