camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Grzybek <gr.grzy...@gmail.com>
Subject Re: [Camel SQL] CamelSqlRetrieveGeneratedKeys attribute delete all headers
Date Mon, 09 Feb 2015 19:00:41 GMT
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.spataro@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.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message