activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tonypiazza <anthonypia...@hotmail.com>
Subject Configure Broker to send messages to durable topic as fast as possible
Date Mon, 25 May 2009 01:07:59 GMT

I am using ActiveMQ embedded in my Spring app to send a large number of
messages asynchronously to a durable topic. I need to modify the Broker
configuration so that my app can send the messages as quickly as possible.
Here is the portion of my spring.xml file related to the embedded broker:

	<bean id="jmsConnectionFactory"
class="org.apache.activemq.pool.PooledConnectionFactory"
		destroy-method="stop">
		<property name="connectionFactory">
			<bean class="org.apache.activemq.spring.ActiveMQConnectionFactory">
				<property name="brokerURL" value="vm://localhost"/>
				<property name="useAsyncSend" value="true"/>
			</bean>
		</property>
	</bean>

>From what I've read on the site, there are a few configuration options
(producerFlowControl and producerWindowSize) that can be specified to
improve the rate that messages can be sent. Can anyone tell me the easiest
way to specify these options in my spring.xml file?

Thanks in advance for any advice you can give me.

Tony

-- 
View this message in context: http://www.nabble.com/Configure-Broker-to-send-messages-to-durable-topic-as-fast-as-possible-tp23699888p23699888.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message