Sorry, should've included that info in the initial mail. Here's how I've setup my connection factories:
<bean id="jmscf" class="org.apache.activemq.spring.ActiveMQConnectionFactory" p:brokerURL="${broker.jmsUrl}" p:alwaysSyncSend="true" /> <bean id="pcf" class="org.apache.activemq.pool.PooledConnectionFactory" init-method="start" destroy-method="stop" p:connectionFactory-ref="jmscf" p:maxConnections="4" p:idleTimeout="0" /> And this is the template config: <bean id="jmsTemplate" abstract="true" class="org.springframework.jms.core.JmsTemplate" p:connectionFactory-ref="pcf" p:deliveryPersistent="false" p:deliveryMode="2" p:explicitQosEnabled="true" p:sessionTransacted="false" p:sessionAcknowledgeModeName="AUTO_ACKNOWLEDGE" /> Thanks, Maarten -- View this message in context: http://activemq.2283324.n4.nabble.com/Producer-flow-control-question-tp3092808p3095366.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.