AnsweredAssumed Answered

Camel integration with Activiti6 Beta4

Question asked by wanderlan on Oct 25, 2016
Latest reply on Nov 17, 2016 by wanderlan
Hello,

I'm trying to use Apache Camel with Activiti6 beta4 using only the UI (activiti-app).
But in the log of the execution of my process model I get the error:

Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'myContext' is defined

It seems that the UI is unable to find my applicationContext.xml and/or "myContext" (the camel context inside applicationContext.xml).
My applicationContext.xml is in the /WEB-INF and has this content:

<beans xmlns="http://www.springframework.org/schema/beans"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xmlns:camel="http://camel.apache.org/schema/spring"
   xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
   
<camelContext id="myContext" xmlns="http://camel.apache.org/schema/spring">
   <route>
             :::::::MY ROUTE::::::
        </route>
</camelContext>
</beans>

Would anyone tell me what is missing?
The name and location of "applicationContext.xml" are correct?

TIA,
Wanderlan

Outcomes