Hi,

There are 2 DefaultEndpoint constructors that are not necessary, are not really used (and as the doc says they should not be used anyway) that I intend to remove. One issue is that during endpoint construction because the component and context are set later services from the context such as type converters are not yet available which may lead to errors (or unnecessarily complicated code).

    protected DefaultEndpoint(String, CamelContext);
    protected DefaultEndpoint(String);

There are also a number of components defining constructors that just mimic those that are not necessary and not used either. Those can be removed now.

Not sure if they should be just deprecated for now and removed probably in 3.0 or just remove them now. I'll create a jira for this. Thoughts?

Hadrian

Reply via email to