There doesnt seem to be a way of limiting how messages are delivered to the client. the ActiveMQMessageConsumer.unconsumedMessages seems to fill up, all to quickly, and eventually cause an OOME

we have this setting on the server
<destinationPolicy> <policyMap>
       <policyEntries>
<policyEntry topic=">" producerFlowControl="false" memoryLimit="10mb"> <deadLetterStrategy> <sharedDeadLetterStrategy processExpired="false" processNonPersistent="false" /> </deadLetterStrategy>
           <!--  10 seconds worth -->
<!-- lets force old messages to be discarded for slow consumers -->
           <pendingMessageLimitStrategy>
             <constantPendingMessageLimitStrategy limit="1000"/>
           </pendingMessageLimitStrategy>
</policyEntry> </policyEntries>
     </policyMap>
   </destinationPolicy>


is there another setting to protect against this kind of OOME

Filip

Reply via email to