activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SelvarajAM <selvara...@hcl.in>
Subject PrefetchSize of Non-Durable topic not able to change
Date Tue, 17 Nov 2009 12:12:23 GMT

I am using Activemq 5.3, Flex Client  and stomp protocol for communication.

I send Non-Persisent messages to Non-Durable topic.

I want to change the PrefetchSize of the Subscribers/Consumers. JConsole
shows the PrefetchSize as 1000 always, though the document says the default
value as Short.MAX_VALUE -1

I have also tried all the configuration mentioned in the below link, but
didnt help.
http://activemq.apache.org/what-is-the-prefetch-limit-for.html

My XML configuration is as follows

<beans
  xmlns="http://www.springframework.org/schema/beans"
  xmlns:amq="http://activemq.apache.org/schema/core"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
  http://activemq.apache.org/schema/core
http://activemq.apache.org/schema/core/activemq-core.xsd">

<broker xmlns="http://activemq.apache.org/schema/core" persistent="false"
useJmx="true"  brokerName="PRI" >
<transportConnectors>
	<transportConnector name="StompNio"
uri="stomp://0.0.0.0:8084?consumer.prefetchSize=1015"/>
	<transportConnector name="Nio"
uri="nio://0.0.0.0:8086?consumer.prefetchSize=1015"/>
	<transportConnector name="Tcp"
uri="tcp://0.0.0.0:8087?consumer.prefetchSize=1015"/>
</transportConnectors>
</broker>
</beans>

Kindly help on this. 

Jconsole screen shot is attached
http://old.nabble.com/file/p26388916/Prefetch.jpg 
-- 
View this message in context: http://old.nabble.com/PrefetchSize-of-Non-Durable-topic-not-able-to-change-tp26388916p26388916.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message