we set the idleTimeout to 0 in the PooledConnectionFactory config like
this...

    <bean id="pooledConnectionFactoryAdmin"
class="org.apache.activemq.pool.PooledConnectionFactory" init-method="start"
destroy-method="stop">
            <property name="connectionFactory"
ref="jmsConnectionFactoryAdmin" />
            *<property name="idleTimeout" value="0" />*
    </bean>



-----
Ben O'Day
IT Consultant -http://consulting-notes.com

--
View this message in context: 
http://camel.465427.n5.nabble.com/Activemq-consumer-is-closing-tp5731140p5790930.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to