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.

Reply via email to