cancel
Showing results for 
Search instead for 
Did you mean: 

activiti-camel with CdiStandaloneProcessEngineConfiguration

p4w3l
Champ in-the-making
Champ in-the-making
I try to use latest Activiti Camel integration but with my current Activiti config that is build with CdiStandaloneProcessEngineConfiguration

I tried new and old way and in both cases I have :

<blockcode>
org.apache.myfaces.view.facelets.el.ContextAwareELException: javax.el.ELException: org.activiti.engine.ActivitiException: Expecting a SpringProcessEngineConfiguration for the Activiti Camel module.

Caused by: java.lang.ClassCastException: org.activiti.cdi.CdiStandaloneProcessEngineConfiguration cannot be cast to org.activiti.spring.SpringProcessEngineConfiguration
   at org.activiti.camel.CamelBehavior.setAppropriateCamelContext(CamelBehavior.java:197)

</blockcode>

Could you please give me a hint how to have both  Activiti CDI and Activiti Camel in the same time?
3 REPLIES 3

jbarrez
Star Contributor
Star Contributor
No, sorry, currently the Camel integration is tightly coupled with needing Spring

p4w3l
Champ in-the-making
Champ in-the-making
I love ( in term of architecture ) JPA and CDI in Activiti and I want to use Camel. Unfortunately I tried many, many combinations to run Activiti with Eclipselink JPA with Spring and I failed. Please see https://activiti.atlassian.net/browse/ACT-4075 with attached unit test showing the.

I really count on Team to help me find working configuration that works with Activiti + Spring + Eclipselink JPA as in attached unit test that will let me start working with Camel. It is critical for my project.

jbarrez
Star Contributor
Star Contributor
I understand what you are saying. It's just that we don't see that many people using CDI (vs the other options).

"It is critical for my project."

If it is that critical, you should think about contributing it to Activiti. There many (many!) people constantly asking for new stuff and features. Even if it's just something basic to start with, others can then chime in and continue the effort.