Hi, 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 header.... If I send a List containing the parameters as the documentation says it works. Thanks! -- View this message in context: http://camel.465427.n5.nabble.com/Sql-component-headers-and-body-in-query-tp5743260.html Sent from the Camel - Users mailing list archive at Nabble.com.