Hi,

yes thanks for the reply, that was what I had been playing around with to
try and get it to work.

I just came across this blog:
http://blog.garytully.com/2009/01/activemq-systemusage-xml-configuration.html

and that has sorted it for me. I had systemUsage within a
producerSystemUsage block but that wasn't working, the below does.

I now have:
        <amq:systemUsage>
             <amq:systemUsage sendFailIfNoSpace="true">
               <amq:memoryUsage>
                 <amq:memoryUsage limit="10mb" />
               </amq:memoryUsage>
             </amq:systemUsage>
        </amq:systemUsage>

within the broker definition and it all seems to work.

cheers.

--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Limiting-the-size-of-a-queue-tp3576502p3582321.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to