peek at the schema, there is also a topicPrefetch and durableTopicPrefetch attributes. You need topicPrefetch I guess. then it looks ok.
On 25 August 2010 14:37, gng <[email protected]> wrote: > > > 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. > > -- http://blog.garytully.com Open Source Integration http://fusesource.com
