no idea on the default prefetch for durable subs, often times i think 100 is a more sensible default for queues. The trade of is between broker memory usage and throughput to a fast consumer when there is sufficient queue depth. With many consumers, 1000 can be excessive.
I tidied up the doco for advisoryForDiscardingMessages, thanks for the feedback. On 7 May 2013 21:21, Paul Gale <[email protected]> wrote: > Hi, > > According to http://activemq.apache.org/per-destination-policies.html the > property durableTopicPrefetch is defined: "sets the prefetch for durable > topic consumers that are using the default value". > > Given that the prefetch value for a queue is 1000 and for a non-durable > topic it's 32766, why is the prefetch limit for durable topic's so low at > 100? What's the rationale for that choice? > > I was expecting the default to be the same as for a queue. > > Also, on the same page the property advisoryForDiscardedMessages is now > known as advisoryForDiscardingMessages. I believe it only applies to > topics, not queues? If so, its definition should be moved to the > 'additional properties for a Topic' section of said page. > > Thanks, > Paul -- http://redhat.com http://blog.garytully.com
