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