Nevermind, I used this:
<route> <from uri="timer://foo?fixedRate=true&period=60000"/> <to uri="bean:lastRowValue?method=getLastValue"/> <to uri="sql:select * from messagesRepo1 Order By id?dataSourceRef=dataSource1"/> <split> <simple>body</simple> <to uri="bean:lastRowValue?method=setLastValue"/> </split> </route> -- View this message in context: http://camel.465427.n5.nabble.com/Get-updated-entries-from-a-DataBase-tp3400895p4552432.html Sent from the Camel - Users mailing list archive at Nabble.com.