The process engine configuration can be extended through process engine plugins. A process engine plugin is an extension to the process engine configuration.

A plugin must provide an implementation of the ProcessEnginePlugin interface.

Configure Process Engine Plugins

Process engine plugins can be configured

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <bpm-platform xmlns="http://www.camunda.org/schema/1.0/BpmPlatform"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://www.camunda.org/schema/1.0/BpmPlatform http://www.camunda.org/schema/1.0/BpmPlatform ">
  5. <job-executor>
  6. <job-acquisition name="default" />
  7. </job-executor>
  8. <process-engine name="default">
  9. <job-acquisition>default</job-acquisition>
  10. <configuration>org.camunda.bpm.engine.impl.cfg.JtaProcessEngineConfiguration</configuration>
  11. <datasource>jdbc/ProcessEngine</datasource>
  12. <plugins>
  13. <plugin>
  14. <class>org.camunda.bpm.engine.MyCustomProcessEnginePlugin</class>
  15. <properties>
  16. <property name="boost">10</property>
  17. <property name="maxPerformance">true</property>
  18. <property name="actors">akka</property>
  19. </properties>
  20. </plugin>
  21. </plugins>
  22. </process-engine>
  23. </bpm-platform>

A process engine plugin class must be visible to the classloader which loads the process engine classes.

List of Built-In Process Engine Plugins

The following is a list of built-in process engine plugins:

原文: https://docs.camunda.org/manual/7.9/user-guide/process-engine/process-engine-plugins/