You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by Henryk Konsek <he...@gmail.com> on 2012/07/05 13:46:34 UTC

Bean component documentation update

Hi,

Some Camel newcomers I work with asked me why there is no
documentation regarding using bean() and beanRef() Java DSL syntax in
the context of Bean Component [1].

I tell them to use the following syntax:
from("direct:start").beanRef("yourBeanEndpoint"). The problem is that
Bean Component documentation [1] says nothing about using bean() and
beanRef() for endpoint specification - there is only description of
using XML bean at the endpoint side.

This is not the first time when somebody tells me that Java DSL syntax
for bean() and beanRef() is not well documented in this context.

I've updated the documentation of the Bean component [1] with
additional "Java DSL bean syntax" section. Could somebody take a look
at it?

Regards.

[1] http://camel.apache.org/bean.html

-- 
Henryk Konsek
http://henryk-konsek.blogspot.com

Re: Bean component documentation update

Posted by Christian Müller <ch...@gmail.com>.
Great!

Best,
Christian

On Thu, Jul 5, 2012 at 1:47 PM, Henryk Konsek <he...@gmail.com> wrote:

> > [1] http://camel.apache.org/bean.html
>
> Or better here - https://cwiki.apache.org/confluence/display/CAMEL/Bean .
>
> --
> Henryk Konsek
> http://henryk-konsek.blogspot.com
>

Re: Bean component documentation update

Posted by Henryk Konsek <he...@gmail.com>.
> [1] http://camel.apache.org/bean.html

Or better here - https://cwiki.apache.org/confluence/display/CAMEL/Bean .

-- 
Henryk Konsek
http://henryk-konsek.blogspot.com