Skip to content

Latest commit

 

History

History
 
 

camunda-bpm-osgi-processapplication

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Camunda BPM OSGi - Process Application Integration

This module allows you to use the Process Application mechanism in an OSGi environment. To use the module you have to use Blueprint.

Creating a process engine

Simply create a subclass of OSGiProcessApplication, pass the bundle and the BlueprintContext in the constructor and export it as OSGi service (interface=ProcessApplicationInterface). You can configure your OSGiProcessApplication just like a normal ProcessApplication via processes.xml. The engine will be automatically exported as a service for others to use it.

Deploying process definitions

Like mentioned in the User Guide you can deploy the processes using the processes.xml. Alternatively you can do it manually inside your OSGiProcessApplication class in the createDeployment() method.

Referencing inside processes

If you used a ProcessApplication to start you engine and deploy your processes the EL resolution is limited to beans in your context.xml (that's why you need Blueprint). Every bean will be matched by its id in the context.xml. The BlueprintBundleLocalELResolver won't find any classes/services outside of it.