Hi,
I am trying to insert some values in one table using camel sql component in
felix osgi .
My routing is like this
<to uri="bean:parsingService?method=parse"/>
<process ref="bookingProcessor"></process>
<when>
<simple>in.header.bookingList</simple>
<split>
<simple>in.body</simple>
<to uri="sql:insert into
bookinglist(bookinglist_id,datetime)
values(#,#)"/>
</split>
</when>
My split is returning list like this[1,2009-10-10 10:10:10] but after split
it is not executing sql component.
But if i m givinng <to uri="sql:insert into
bookinglist(bookinglist_id,datetime) values(1,'2009-10-10 10:10:10')"/> like
this it is storing in db...
I also tried like <to uri="sql:insert into
bookinglist(bookinglist_id,datetime) values(#,'#')"/> but still it is not
working..,can anybody tell me where i m doing mistake..Plz reply soon..
Thanks
Priyambada
--
View this message in context:
http://old.nabble.com/camel-sql-insertion-is-not-working-in-osgi-tp27605294p27605294.html
Sent from the Camel - Users mailing list archive at Nabble.com.