activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gng <>
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:
> 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") :-

<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"/>

Is the code snippet above correct ?

Again, thanks for the assistance !

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

View raw message