The jdbc component doesn't require Spring as a dependency. That's the main
advantage it has that I know of.

On 30 August 2016 at 08:15, Rajith Muditha Attapattu <rajit...@gmail.com>
wrote:

> The difference between the two is that with jdbc the query is in the
> message body vs the as an endpoint property in sql.
>
> But it seems from Camel 2.16 onwards, the sql component can do the same.
> From the looks of it, both could do what I want.
>
> I'm just trying to figure out the best component to use.
>
> What other differences are there btw the components?
> I know sql component uses spring jdbc templates. Wondering if sql
> component has an advantage over jdbc here.
>
> Your feedback is greatly appreciated.
>
> Regards,
>
> Rajith Muditha Attapattu
>



-- 
Matt Sicker <boa...@gmail.com>

Reply via email to