Christoph,

Thanks I just tried the ActiveMQ component instead of the JMS Component:

<bean id="activemq"
class="org.apache.activemq.camel.component.ActiveMQComponent">
   <property name="connectionFactory" ref="jmsConnectionFactory"/>
   <property name="transacted" value="true"/>
   <property name="transactionManager" ref="jmsTransactionManager"/>
</bean>

and I get the same result.  Next I will try the PoolingConnectionFactory to
see if the constant connection/disconnections are minimized.

Thanks for your suggestions.

Regards,
Thomas



Meise, Christoph wrote:
> 
> Maybe this helps: http://camel.apache.org/jms.html#JMS-Notes, especially
> the pooling of connections which is recommended when using Springs
> JmsTemplate.
> Regards,
> Christoph
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Transactional-JMS-Route-Constantly-Opening-Closing-Connections-tp28836324p28846528.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to