[
https://issues.apache.org/jira/browse/CAMEL-4376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13091030#comment-13091030
]
Hadrian Zbarcea commented on CAMEL-4376:
----------------------------------------
Yes, shouldn't change in 2.8.1.
The issue with <beean class="*Endpoint" /> is that it's not that useful to
create an endpoint that way imho. Not sure why we would allow that. Will leave
it in for now.
> 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