[ 
https://issues.apache.org/jira/browse/CAMEL-16571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17338428#comment-17338428
 ] 

Peter Palaga commented on CAMEL-16571:
--------------------------------------

There is some setter method injection implemented in  
org.apache.camel.impl.engine.DefaultCamelBeanPostProcessor.setterInjection(Method,
 Object, String) for {{@Produce}} and {{@EndpointInject}}

> 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)

Reply via email to