camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-6338) camel-cdi shouldn't use deltapsike bean manager provider in the CamelExtension
Date Tue, 07 May 2013 07:41:15 GMT
Romain Manni-Bucau created CAMEL-6338:
-----------------------------------------

             Summary: 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: Bug
            Reporter: Romain Manni-Bucau


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message