camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Tombs <cyan.s...@gmail.com>
Subject Re: DefaultEndpoint constructors
Date Mon, 24 Jan 2011 22:05:01 GMT
On Thu, Jan 13, 2011 at 1:03 AM, Claus Ibsen <claus.ibsen@gmail.com> wrote:
> The default ctr is used if you create the endpoints manually (without
> using a component), for example in a spring xml file using the <bean>
> style. Then its easier to avoid having to use the ugly
> <constructor-arg>
>
> If you do that you are responsible for setting all those options yourself.
>
> And not all endpoints support creating a bean without using the
> component (eg jetty). So they can omit having a default ctr.

Thanks for the reply, Claus. I have added a JIRA issue
<https://issues.apache.org/jira/browse/CAMEL-3587> with an attached
patch for improving the documentation here.

Hope it helps,
David

-- 
Wise men _still_ seek Him.

Mime
View raw message