Thomas Diesler created CAMEL-7992:
-------------------------------------

             Summary: Container lifecycle event method invoked outside of 
extension observer method invocation
                 Key: CAMEL-7992
                 URL: https://issues.apache.org/jira/browse/CAMEL-7992
             Project: Camel
          Issue Type: Bug
          Components: camel-cdi
    Affects Versions: 2.14.0
            Reporter: Thomas Diesler


camel-cdi does no longer work on wildfly-9.0

{code}
org.jboss.weld.exceptions.IllegalStateException: WELD-000143: Container 
lifecycle event method invoked outside of extension observer method invocation.
        at 
org.jboss.weld.bootstrap.events.ContainerEvent.checkWithinObserverNotification(ContainerEvent.java:61)
        at 
org.jboss.weld.bootstrap.events.ProcessAnnotatedTypeImpl.getAnnotatedType(ProcessAnnotatedTypeImpl.java:56)
        at 
org.apache.camel.cdi.internal.CamelContextConfig.configure(CamelContextConfig.java:47)
        at 
org.apache.camel.cdi.internal.CamelContextBean.configureCamelContext(CamelContextBean.java:131)
        at 
org.apache.camel.cdi.internal.CamelExtension.startConsumeBeans(CamelExtension.java:231)
{code}

To reproduce, build: https://github.com/tdiesler/wildfly-camel/tree/2.0

Cross Issue: https://issues.jboss.org/browse/WFLY-4046



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

Reply via email to