[ 
https://issues.apache.org/jira/browse/CAMEL-6338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-6338.
--------------------------------
       Resolution: Fixed
         Assignee: Claus Ibsen
    Fix Version/s:     (was: Future)
                   2.16

Thanks for the suggestion

> camel-cdi shouldn't use deltapsike bean manager provider in the CamelExtension
> ------------------------------------------------------------------------------
>
>                 Key: CAMEL-6338
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6338
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-cdi
>            Reporter: Romain Manni-Bucau
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.16
>
>
> In an cdi extension the bean manager is injected so camel cdi shouldn't use 
> deltaspike for it.
> A nice side effect of it will be it will remove WARNING
> The only trick it will need will be to give 
> org.apache.camel.cdi.CdiBeanRegistry the bean manager to use. A thread local 
> or delegate (registry.getDelegate()) falling back to DS if null should be 
> fine. It just needs to be resetted after extension startup.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to