Hello!

Should we provide a camel-sql consumer which extends the BatchConsumer to be
able to poll a database like this:

from("sql:select * from projects order by
id?dataSourceRef=jdbc/myDataSource&delay=60000")
.to("mock:result");

instead of we have to do it at present:

from("timer://foo?period=60000")
    .to("sql:select * from projects order by
id?dataSourceRef=jdbc/myDataSource")
    .to("mock:result");

Christian

Reply via email to