activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tikboy <>
Subject memoryLimit behavior (5.5.1)
Date Fri, 21 Mar 2014 04:22:20 GMT

I've configured a policy for my broker to have 20 mb memory limit for a
certain queue and the PFC turned off. I was expecting that when the memory
limit is reached, the client would be unable to publish messages to that
queue and would  receive exceptions while sending a message.

But apparently this is not happening. My broker is still accepting messages.
It would just stop receiving any new messages when either the storeUsage or
the tempUsage has been filled up.

An excerpt of my configuration below:

                        memoryLimit="20 mb"
                            <sharedDeadLetterStrategy processExpired="false"
processNonPersistent="false" />
            <systemUsage sendFailIfNoSpace="true">
                    <memoryUsage limit="500 mb"/>
                    <storeUsage limit="50 gb"/>
                    <tempUsage limit="10 gb"/>

Any enlightenment would be appreciated.


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

View raw message