Check out the documentation at [1] and one of the unit tests, e.g. [2].

[1] http://camel.apache.org/sql-component.html
[2]
https://svn.apache.org/repos/asf/camel/trunk/components/camel-sql/src/test/java/org/apache/camel/component/sql/SqlRouteTest.java

Best,
Christian

On Wed, Dec 19, 2012 at 1:44 PM, sprabu <[email protected]> wrote:

> Hi,
> I have tried in n number of ways, I set some values in the header and tring
> to set that value in SQL as parameters. How do i ...I tried in the below
> given way.
>
> <setHeader headerName=mes_seq>
> <xpath> //Message_seq_numer</xapth>
> </setHeader>
> <to uri="sql:insert into CREATE_TASK
> values(#mes_seq#,'TEST_CAMEL','112233','W-001','TEST','','','','')" />
> Its not working. Any idea here.
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/How-to-Set-SQL-user-parameters-in-insert-query-tp5724363.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



--

Reply via email to