You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Joseph Earl (Jira)" <ji...@apache.org> on 2022/03/14 08:58:00 UTC
[jira] [Commented] (CAMEL-17782) camel-core - @EndpointInject is not supported on constructor parameters
[ https://issues.apache.org/jira/browse/CAMEL-17782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17506075#comment-17506075 ]
Joseph Earl commented on CAMEL-17782:
-------------------------------------
[~davsclaus] Quarkus
> camel-core - @EndpointInject is not supported on constructor parameters
> -----------------------------------------------------------------------
>
> Key: CAMEL-17782
> URL: https://issues.apache.org/jira/browse/CAMEL-17782
> Project: Camel
> Issue Type: Wish
> Reporter: Joseph Earl
> Priority: Minor
>
> EndpointInject should work on constructor parameters so that developers can use constructor based injection for dependencies.
> Constructor injection encourages good, testable class design. Camel should support this.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)