activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vlaxmi <>
Subject prefetch size in broker config (activemq.xml)
Date Thu, 20 Mar 2014 03:52:23 GMT

I want to set the topic prefetch limit such that it will be applied to all
consumers of that topic.

I tried to set the same -
		  <policyEntry topic="test" topicPrefetch="500"
advisoryForDiscardingMessages="true" advisoryForSlowConsumers="true">			
		  	      <constantPendingMessageLimitStrategy limit="200"/>

However, it does not set the prefetch size to 500 for the consumer. 

This works only if I set the prefetch on consumer config -

Is there any way I can set the topic prefetch in broker config -
activemq.xml ?

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

View raw message