A lot depends on what you are trying to achieve.
I would try to use "bind"-variables as in the examples on
http://camel.apache.org/sql-component.html
But this depends on the fact of you being able to predict what field you
need to insert.
e.g
sql:select * from table where id=:#myId order by name[?options]

or

sql:select * from table where id=:#${property.myId} order by name[?options]



--
View this message in context: 
http://camel.465427.n5.nabble.com/Dynamically-changing-SQL-with-INSERT-tp5784938p5784961.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to