Hi Thanks for reporting. I logged a ticket and fixed it https://issues.apache.org/jira/browse/CAMEL-7595
You can work around this issue be removing the CamelJdbcUpdateCount header before calling the jdbc again. On Wed, Jul 9, 2014 at 3:09 PM, brunoalcau <brunoal...@gmail.com> wrote: > excuse me: > the version 2.13.2 camel , > > route example : > from("direct:name") > .setBody(simple("update mytable set status = 1")) > > .to("jdbc:cosmos") > .log(LoggingLevel.DEBUG, "###CounOne${header.CamelJdbcUpdateCount} ") > .setBody(simple("upate mytable set status = 2 where status=1")) > .to("jdbc:cosmos") > .log(LoggingLevel.DEBUG, "###CounTwo${header.CamelJdbcUpdateCount} ") > > CamelJdbcUpdateCount : when I do the second amendment it returns me the > value of the first > > > 2014-07-09 10:22 GMT-03:00 Claus Ibsen-2 [via Camel] < > ml-node+s465427n5753595...@n5.nabble.com>: > >> Hi >> >> Can you provide more details, such as camel version / routes / etc. >> >> On Wed, Jul 9, 2014 at 1:53 PM, brunoalcau <[hidden email] >> <http://user/SendEmail.jtp?type=node&node=5753595&i=0>> wrote: >> > I'm having problems with the jdbc component header CamelJdbcUpdateCount >> it is >> > not updating when I make more of an update >> > >> > >> > >> > -- >> > View this message in context: >> http://camel.465427.n5.nabble.com/I-m-having-problems-with-the-jdbc-component-header-CamelJdbcUpdateCount-tp5753590.html >> > Sent from the Camel - Users mailing list archive at Nabble.com. >> >> >> >> -- >> Claus Ibsen >> ----------------- >> Red Hat, Inc. >> Email: [hidden email] >> <http://user/SendEmail.jtp?type=node&node=5753595&i=1> >> Twitter: davsclaus >> Blog: http://davsclaus.com >> Author of Camel in Action: http://www.manning.com/ibsen >> hawtio: http://hawt.io/ >> fabric8: http://fabric8.io/ >> >> >> ------------------------------ >> If you reply to this email, your message will be added to the discussion >> below: >> >> http://camel.465427.n5.nabble.com/I-m-having-problems-with-the-jdbc-component-header-CamelJdbcUpdateCount-tp5753590p5753595.html >> To unsubscribe from I'm having problems with the jdbc component header >> CamelJdbcUpdateCount, click here >> <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5753590&code=YnJ1bm9hbGNhdUBnbWFpbC5jb218NTc1MzU5MHwtMTUyMTY2NTcyMw==> >> . >> NAML >> <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> >> > > > > -- > > > > > *Bruno Alves Caú* > *Desenvolvedor de software* > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/I-m-having-problems-with-the-jdbc-component-header-CamelJdbcUpdateCount-tp5753590p5753603.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/