activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "maarten.dirkse" <maarten.dir...@gmail.com>
Subject Re: Producer flow control question
Date Mon, 20 Dec 2010 11:14:50 GMT

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.

Mime
View raw message