I work with Activiti embedded in my own application, which already has a CamelContext. Could Activiti be configured programmatically for to use the context that I already have in my application? I can not use that engine has its own context because I need to integrate more things. Nor do I find the mode if there is to access Activiti CamelContext.
I use setDefaultCamelContext but now my problem is another. I get a NullPointerException when I try to start a process from camel.
Caused by: java.lang.NullPointerException at org.activiti.camel.ActivitiProducer.startProcess(ActivitiProducer.java:93) at org.activiti.camel.ActivitiProducer.process(ActivitiProducer.java:45)
I can see that this is because runtimeService is null. I have the runtimeService bean in my activiti.cfg.xml and I have tried to put it in the register of my camelContext in this way