I have the following situation: I have installed Activiti in an existing Tomcat that hosts Apache Felix with a bunch of OSGi services. I need to communicate with Activiti from an OSGI service using the JAVA API (no REST). Is this possible? How?
I've been able to deploy Activiti in OSGi, but communication has been done using the activiti-osgi-rest webapp. I guess if you want to use the Java API, you can always register the ProcessEngine in the OSGi registry or retrieve it using the ProcessEngines class. Having the ProcessEngine object gives you full control then.