Hi Stéphane,

There is no typo error. The documentation refers to the fact that we can
pass named_parameters like it is showed in the example :

.to("sql:select * from projects where license = :#lic and id > :#min order
by id")
from("sql:select * from projects order by id?consumer.onConsume=delete from
projects where id = :#id")
 .to("sql:select * from projects where license = :#lic order by id")

To avoid any ambiguities, we could improve the wording (:#name -->
:#name_of_the_parameter")

Regards,



On Sat, Aug 9, 2014 at 2:53 PM, Stéphane Deraco <stephane.der...@gmail.com>
wrote:

> Hi,
>
> Could I have wiki rights in order to modify the SQL Component page. I think
> there is a typo for named parameters: the text says to use #:name style,
> whereas the code just below says :#id (which is the one correct according
> to SqlProducerNamedParameterTest.java)
>
> I have a confirmed ICLA (Stéphane Deraco).
>
> Best regards
>



-- 
Charles Moulliard
Apache Committer / Architect @RedHat
Twitter : @cmoulliard | Blog :  http://cmoulliard.github.io

Reply via email to