[
https://issues.apache.org/jira/browse/CAMEL-16571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-16571.
---------------------------------
Resolution: Fixed
> camel-core - @Consume annotation should not be marked for constructor
> injection
> -------------------------------------------------------------------------------
>
> Key: CAMEL-16571
> URL: https://issues.apache.org/jira/browse/CAMEL-16571
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 3.10.0
>
>
> This does not make sense, as its really only for methods, eg to Camel call a
> methods when a message is consumed.
> The @Produce is for field/constructor injection and not method.
> And same for @EndpointInject
--
This message was sent by Atlassian Jira
(v8.3.4#803005)