activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jigar Naik <jigarn...@interactcrm.com>
Subject Re: Active MQ message Limit
Date Mon, 14 Jul 2008 10:19:46 GMT

ya thanks... but when i made changes in the following file.

i change the  <policyEntry queue=">" memoryLimit="5mb"/> to 1 mb it sent
less then 1000 messages, when i changed it to 2 mb it sent less then 2000
messages  and when i m setting it to 5 mb it is sending more than 100000
messages, ideally it should not send more than 5000 messages. 

so what are the required configuration changes which i should do before
moving to production ?

    <broker xmlns="http://activemq.apache.org/schema/core"
brokerName="localhost" dataDirectory="${activemq.base}/data">

        <!-- Destination specific policies using destination names or
wildcards -->
        <destinationPolicy>
            <policyMap>
                <policyEntries>
                    <policyEntry queue=">" memoryLimit="5mb"/>
                    <policyEntry topic=">" memoryLimit="5mb">
                        <dispatchPolicy>
                            <strictOrderDispatchPolicy/>
                        </dispatchPolicy>
                        <subscriptionRecoveryPolicy>
                            <lastImageSubscriptionRecoveryPolicy/>
                        </subscriptionRecoveryPolicy>
                    </policyEntry>
                </policyEntries>
            </policyMap>
        </destinationPolicy>




Jigar Naik wrote:
> 
> Is there any limit on active MQ.. how many message activeMQ can store if
> there is no consumer available ?
> 

-- 
View this message in context: http://www.nabble.com/Active-MQ-message-Limit-tp18440070p18441016.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.


Mime
View raw message