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.



--
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.

Reply via email to