[ 
https://issues.apache.org/jira/browse/CAMEL-4376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hadrian Zbarcea updated CAMEL-4376:
-----------------------------------

    Fix Version/s:     (was: 2.8.1)

> Deprecate DefaultEndpoint constructors that create partially constructed 
> endpoints 
> -----------------------------------------------------------------------------------
>
>                 Key: CAMEL-4376
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4376
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.8.0
>            Reporter: Hadrian Zbarcea
>            Assignee: Hadrian Zbarcea
>             Fix For: 2.9.0
>
>
> 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);
> possibly
>     protected DefaultEndpoint();
> 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. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to