camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dattu.1729" <dattu.1...@gmail.com>
Subject Re: Lost message with Transactionl client
Date Tue, 17 Jan 2012 15:29:44 GMT
Transacted starts new transaction after reading message from Queue. So need
to start transaction while reading message from queue it self. add
transacted to true at component level. try with below configuration 


	<bean id="jmsMqConf"
class="org.apache.camel.component.jms.JmsConfiguration">
		<property name="connectionFactory" ref="jmsMqCF" />
		*<property name="transacted" value="true" />*
		<property name="transactionManager" ref="jtaTransactionManager" />
	</bean>

	
	<bean id="jmsmq" class="org.apache.camel.component.jms.JmsComponent">
		<property name="configuration" ref="jmsMqConf" />
	</bean>


--
View this message in context: http://camel.465427.n5.nabble.com/Lost-message-with-Transactionl-client-tp5150868p5151890.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message