On Mon, Apr 14, 2014 at 8:53 PM, moj0002 <[email protected]> wrote: > okay I figured it out I think, > > The CamelJdbcUpdateCount contains rows inpacted included rows DELETED, maybe > it is using a prepared statement behind the scene > > I first dumped all the headers <to uri="log:myLog?showHeaders=true"/> and > found the property in the input header > > Then this works > <log message="Running Scheduled deletion at ${date:now:yyyy-MM-dd > HH:mm:ss z} Rows deleted: $simple{header.CamelJdbcUpdateCount} "/> > > I am still confused as to why I am looking at the input headers and not > output headers. >
This page may help a bit http://camel.apache.org/using-getin-or-getout-methods-on-exchange.html > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/JDBC-component-and-jboss-ds-xml-file-tp5750137p5750227.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: [email protected] Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/
