You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by Jigar Naik <ji...@interactcrm.com> on 2008/07/14 11:11:19 UTC
Active MQ message Limit
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-tp18440070p18440070.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
Re: Active MQ message Limit
Posted by Jigar Naik <ji...@interactcrm.com>.
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.
Re: Active MQ message Limit
Posted by Rob Davies <ra...@gmail.com>.
On 14 Jul 2008, at 10:11, 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-tp18440070p18440070.html
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>
There's a configurable limit on how big the default message store can
grow - see the configuration page: http://activemq.apache.org/version-5-xml-configuration.html