Are you using batch statements? (batch=true in endpoint URI) We do copy headers IN→OUT ( https://github.com/apache/camel/blob/camel-2.14.x/components/camel-sql/src/main/java/org/apache/camel/component/sql/SqlProducer.java#L124-L125) but it seems only in non-batch mode.
If this is a case (or if it still doesn't work for you) please create JIRA issue at https://issues.apache.org/jira/browse/CAMEL. regards Grzegorz Grzybek 2015-02-09 17:40 GMT+01:00 fabrizio.spataro <fabrizio.spat...@bizmate.it>: > Hello everyone, > > I am using Camel (2.14.1) SQL component, with > *CamelSqlRetrieveGeneratedKeys=true*. > > After an insert operation i have a correct CamelSqlGeneratedKeyRows value > but *I am lost all my previous header params.* > > Is it a bug? > > There is any param to preserve my headers? > > Tnkx > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-SQL-CamelSqlRetrieveGeneratedKeys-attribute-delete-all-headers-tp5762512.html > Sent from the Camel - Users mailing list archive at Nabble.com. >