activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juergen Mayrbaeurl <juergen.mayrbae...@hvb.sozvers.at>
Subject Re: prefetchSize for TopicSubscriber
Date Thu, 06 Sep 2007 15:54:16 GMT

We're using the Spring configuration for the ActiveMQConnectionFactory (with
version 4.1.0):

	<bean id="jmsConnectionFactory"
		class="org.apache.activemq.ActiveMQConnectionFactory">
		<property name="brokerURL"
			value="${zpv.verst.empfaenger.mq.serverUrl}" />
		<property name="userName" value="${zpv.verst.empfaenger.mq.userName}"/>
		<property name="password" value="${zpv.verst.empfaenger.mq.password}"/>
		<property name="clientID" value="${zpv.verst.empfaenger.mq.clientID}" />
		<property name="prefetchPolicy">
			<bean class="org.apache.activemq.ActiveMQPrefetchPolicy">
				<property name="durableTopicPrefetch" value="1"/>
				<property name="optimizeDurableTopicPrefetch" value="1"/>
			</bean>
		</property>
	</bean>

This way works (at least with version 4.1.0, not tested with 4.1.1).

Kind regards
Juergen


drod wrote:
> 
> Yes I did and I try it  with this configuration:
>   tcp://localhost:61616?jms.prefetchPolicy.all = 100
> 
> But it doesn't work!
> 
> 
> 
> Juergen Mayrbaeurl wrote:
>> 
>> Did you look at 
>> http://activemq.apache.org/what-is-the-prefetch-limit-for.html
>> what-is-the-prefetch-limit-for  on the ActiveMQ website?
>> 
>> Juergen
>> 
>> 
>> drod wrote:
>>>  
>>> How can I set the prefetchSize for a TopicSubscriber using ActiveMQ
>>> 4.1.1 ?
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/prefetchSize-for-TopicSubscriber-tf4390619s2354.html#a12525566
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message