activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gng <gareth.g...@hp.com>
Subject Re: Specifying prefetch topic sizes in configuration files
Date Wed, 25 Aug 2010 13:37:59 GMT


Gary Tully wrote:
> 
> yea, need to add it there, it is in the schema though:
> view-source:http://activemq.apache.org/schema/core/activemq-core-5.4.0.xsd
> 
> that is always the most up to date reference
> 

Thanks Gary - so I'm using v5.3.2 and the queuePrefetch attribute is there.
I want to change the pre fetch size for a non-durable topic from its default
value of 32766 to something much larger. So I believe I need to add a
section to my activemq.xml conf file as follows (for the topic I have
defined called "myTopic") :-

<destinationPolicy>
<policyMap>
<policyEntries>
<policyEntry topic="myTopic">
<!-- ** is the line below correct to change the prefetch size for the
myTopic topic from its default to the new value ? ** -->
<prefetchPolicy queuePrefetch="100000"/>
</policyEntry>
</policyEntries>
</policyMap>
</destinationPolicy>

Is the code snippet above correct ?

Again, thanks for the assistance !



-- 
View this message in context: http://old.nabble.com/Specifying-prefetch-topic-sizes-in-configuration-files-tp29522337p29532357.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message