You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2015/07/10 12:02:04 UTC
[jira] [Resolved] (CAMEL-6336) camel cdi uses postconstruct to
inject in cdi beans
[ https://issues.apache.org/jira/browse/CAMEL-6336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-6336.
--------------------------------
Resolution: Fixed
Assignee: Claus Ibsen
Fix Version/s: (was: Future)
2.16
Thanks for the suggestion
> camel cdi uses postconstruct to inject in cdi beans
> ---------------------------------------------------
>
> Key: CAMEL-6336
> URL: https://issues.apache.org/jira/browse/CAMEL-6336
> Project: Camel
> Issue Type: Bug
> Components: camel-cdi
> Affects Versions: 2.11.0
> Reporter: Romain Manni-Bucau
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.16
>
>
> org.apache.camel.cdi.internal.CamelExtension#onInjectionTarget uses InjectionTarget#postConstruct instead of inject() to inject camel injections. That's not really consistent since postconstruct is done once injections are done because they can be used in post construct methods.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)