You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by Zemian Deng <sa...@gmail.com> on 2013/08/17 22:36:15 UTC
Document typo on jbdc component?
Hi,
On latest jdbc component it added named parameters feature, but the doc
seems to have couple typo.
http://camel.apache.org/jdbc.html
1) The doc says use ":#param_name" format for named parameters binding, but
it doesn't work. It seems the code is expecting ":?param_name" format
instead. However I think I prefer ":#" format for named parameter to be
consistent with camel-sql usage.
2) The doc also says:
"Camel will then lookup for these parameters from the message body or
message headers.", but I don't think "message body" is going to work right?
I only see the camel-jdbc body is used as SQL statement.
--
Zemian
Re: Document typo on jbdc component?
Posted by Christian Posta <ch...@gmail.com>.
Yes, you're correct.
I've updated the wiki. Should take a little bit to refresh.
Thanks for catching that.
Christian
On Sat, Aug 17, 2013 at 1:36 PM, Zemian Deng <sa...@gmail.com> wrote:
> Hi,
>
> On latest jdbc component it added named parameters feature, but the doc
> seems to have couple typo.
>
> http://camel.apache.org/jdbc.html
>
> 1) The doc says use ":#param_name" format for named parameters binding, but
> it doesn't work. It seems the code is expecting ":?param_name" format
> instead. However I think I prefer ":#" format for named parameter to be
> consistent with camel-sql usage.
>
> 2) The doc also says:
> "Camel will then lookup for these parameters from the message body or
> message headers.", but I don't think "message body" is going to work right?
> I only see the camel-jdbc body is used as SQL statement.
>
> --
> Zemian
>
--
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta