camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cecilio Alvarez <>
Subject Sql component headers and body in query.
Date Thu, 14 Nov 2013 10:23:38 GMT

I have the following sql endpoint:

<to uri="sql:insert into table(id,payload) values(:#Name,xmlparse(document
cast(# as clob) preserve whitespace))?dataSource=derby/>

It throws java.sql.SQLException: Number of parameters mismatch. Expected 2,
was: 1

If I send just headers It works, but I don't want to set the body in a

If I send a List containing the parameters as the documentation says it


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message