Hi All,

I want to get whole data from one datasource which I want to insert into
another table at the same time to another datasource
For this i have created two datasource, two session factory and two ibatis
instances.

my route looks like this 
<route id="processSelect">
<from uri="timer:foo?period=20s" />
<transacted ref="PROPAGATION_REQUIRED" />
<to uri="mybatisSource:batchSelectProcess?statementType=SelectList" />
<to uri="mybatisTarget:batchInsertApprovals?statementType=InsertList" />
</route> 


I'm confused how to write insert statement for the same. As this source will
return List to me but how to refer that list while inserting 

Thanks for your help 



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-Ibatis-tp5740547.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to