Re: ProducerTemplate and cponnent camel-sql

2011-03-25 Thread Claus Ibsen
On Tue, Mar 22, 2011 at 6:36 PM, Charles Moulliard wrote: > Is there a way to configure the camel producerTemplate in a bean to > use the SQL component configured in spring XML file > Yep you can annotate the ProducerTemplate field with @Produce and then put in the endpoint uri. Then you just use

ProducerTemplate and cponnent camel-sql

2011-03-22 Thread Charles Moulliard
Is there a way to configure the camel producerTemplate in a bean to use the SQL component configured in spring XML file 1) Spring XML 2) Camel bean private ProducerTemplate template;} public void insertRecord(@Body Strin