On Tue, Jun 5, 2012 at 5:39 PM, Deepthi <deepthi...@gmail.com> wrote:
> Hi Claus,
>
> Can we give sql statement as source also.
> For Eg:
> <from uri="select * from tablename"/>
>
> does camel 2.8.0 support this?
>

No, but you can use a timer / quartz component as source, to trigger
calling the route by X interval.
And then use a <to> to call the SQL.

The JPA consumer allows to auto scan a table, and trigger when new
rows is inserted into the table.


> Thanks,
> Deepthi
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Help-with-setting-multiple-parameters-with-SQL-tp5714000p5714025.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to