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

Reply via email to